System.Data.Linq.Mapping Namespace

The System.Data.Linq.Mapping namespace contains classes that are used to define and generate a local database that represents a data context in a Windows Phone application.

For information about using a local database in your Windows Phone application, see Local Database Overview for Windows Phone.


  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 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 MetaModel An abstraction that represents the mapping between a database and domain objects.
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 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.