Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System.Data.Linq Namespace

Updated: November 2007

The System.Data.Linq namespace contains classes that support interaction with relational databases in LINQ to SQL applications.

LINQ to SQL is a technology that provides a run-time infrastructure for managing relational data as objects. For more information, see LINQ to SQL.

  ClassDescription
Binary Represents an immutable block of binary data.
ChangeConflictCollection Returns a collection of objects involved in concurrency conflicts.
ChangeConflictException Thrown when an update fails because database values have been updated since the client last read them.
ChangeSet Provides a container to hold changes.
CompiledQuery Provides for compilation and caching of queries for reuse.
DataContext Represents the main entry point for the LINQ to SQL framework.
DataLoadOptions Provides for immediate loading and filtering of related data.
DBConvertInfrastructure. Used internally to convert one type to another.
DuplicateKeyException Thrown when an attempt is made to add an object to the identity cache by using a key that is already being used.
EntitySet<(Of <(TEntity>)>) Provides for deferred loading and relationship maintenance for the collection side of one-to-many and one-to-one relationships in a LINQ to SQL applications. 
ForeignKeyReferenceAlreadyHasValueException Represents errors that occur when an attempt is made to change a foreign key when the entity is already loaded.
MemberChangeConflict Represents a situation in which an attempted update fails because member values have been updated since the client last read them.
ObjectChangeConflict Represents an update attempt with one or more optimistic concurrency conflicts.
Table<(Of <(TEntity>)>) Represents a table for a particular type in the underlying database.
  StructureDescription
EntityRef<(Of <(TEntity>)>) Provides for deferred loading and relationship maintenance for the singleton side of a one-to-many relationship in a LINQ to SQL application.
Link<(Of <(T>)>) Used to enable deferred loading of individual properties (similar to EntityRef<(Of <(TEntity>)>)).
ModifiedMemberInfo Holds values of members that have been modified in LINQ to SQL applications.
  InterfaceDescription
IExecuteResult Provides access to the return value or results of executing a query.
IFunctionResult Provides access to the return value of a function.
IMultipleResults Represents the results of mapped functions or queries with variable return sequences.
ISingleResult<(Of <(T>)>) Represents the result of a mapped function that has a single return sequence.
ITable Used for weakly typed query scenarios.
  EnumerationDescription
ChangeAction Describes the type of change the entity will undergo when changes are submitted to the database.
ConflictMode Specifies when concurrency conflicts should be reported.
RefreshMode Defines how the Refresh method handles optimistic concurrency conflicts.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker