Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

System.Data.Linq.Mapping Namespace

The 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.

  Class Description
Public class AssociationAttribute Designates a property to represent a database association, such as a foreign key relationship.
Public class AttributeMappingSource A mapping source that uses attributes on the context to create the mapping model.
Public class ColumnAttribute Associates a class with a column in a database table.
Public class DataAttribute Provides members to describe attributes of data in columns.
Public class DatabaseAttribute Specifies certain attributes of a class that represents a database.
Public class FunctionAttribute Associates a method with a stored procedure or user-defined function in the database.
Public class InheritanceMappingAttribute Maps an inheritance hierarchy in a LINQ to SQL application.
Public class MappingSource Represents a source for mapping information.
Public class MetaAccessor Represents an accessor to a member.
Public class MetaAccessor<TEntity, TMember> A strongly typed version of the MetaAccessor class.
Public class MetaAssociation Represents an association relationship between two entity types.
Public class MetaDataMember Represents the mapping between a field or a property of a domain object into a column of a database table.
Public class MetaFunction Represents the mapping between a context method and a database function.
Public class MetaModel An abstraction that represents the mapping between a database and domain objects.
Public class MetaParameter Represents the mapping between a method parameter and a database function parameter.
Public class MetaTable Represents an abstraction of a database table or view.
Public class MetaType Represents the mapping of a domain object type to the columns of a database table.
Public class ParameterAttribute Enables specification of mapping details for a stored procedure method parameter.
Public class ProviderAttribute Specifies which database provider to use.
Public class ResultTypeAttribute Used to specify each type of result; for functions having various result types.
Public class TableAttribute Designates a class as an entity class that is associated with a database table.
Public class XmlMappingSource Represents a mapping source that uses an external XML mapping file to create the model.

  Enumeration Description
Public enumeration AutoSync Instructs the runtime how to retrieve the value after an insert or update operation.
Public enumeration UpdateCheck Specifies when objects are to be tested for concurrency conflicts.
© 2015 Microsoft