System.Data.Linq.Mapping Namespace
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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.
Classes
Class | Description | |
---|---|---|
![]() |
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. |
![]() |
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. |
![]() |
MetaModel | An abstraction that represents the mapping between a database and domain objects. |
![]() |
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. |
![]() |
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. |
Enumerations
Enumeration | Description | |
---|---|---|
![]() |
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. |