Edit

Share via


System.Data.Linq.Mapping Namespace

Contains classes that are used to generate a LINQ to SQL object model that represents the structure and content of a relational database.

Classes

AssociationAttribute

Designates a property to represent a database association, such as a foreign key relationship.

AttributeMappingSource

A mapping source that uses attributes on the context to create the mapping model.

ColumnAttribute

Associates a class with a column in a database table.

DataAttribute

Provides members to describe attributes of data in columns.

DatabaseAttribute

Specifies certain attributes of a class that represents a database.

FunctionAttribute

Associates a method with a stored procedure or user-defined function in the database.

InheritanceMappingAttribute

Maps an inheritance hierarchy in a LINQ to SQL application.

MappingSource

Represents a source for mapping information.

MetaAccessor

Represents an accessor to a member.

MetaAccessor<TEntity,TMember>

A strongly typed version of the MetaAccessor class.

MetaAssociation

Represents an association relationship between two entity types.

MetaDataMember

Represents the mapping between a field or a property of a domain object into a column of a database table.

MetaFunction

Represents the mapping between a context method and a database function.

MetaModel

An abstraction that represents the mapping between a database and domain objects.

MetaParameter

Represents the mapping between a method parameter and a database function parameter.

MetaTable

Represents an abstraction of a database table or view.

MetaType

Represents the mapping of a domain object type to the columns of a database table.

ParameterAttribute

Enables specification of mapping details for a stored procedure method parameter.

ProviderAttribute

Specifies which database provider to use.

ResultTypeAttribute

Used to specify each type of result; for functions having various result types.

TableAttribute

Designates a class as an entity class that is associated with a database table.

XmlMappingSource

Represents a mapping source that uses an external XML mapping file to create the model.

Enums

AutoSync

Instructs the runtime how to retrieve the value after an insert or update operation.

UpdateCheck

Specifies when objects are to be tested for concurrency conflicts.