Developers using Visual Studio can use the Object Relational Designer to create or customize their entity classes. For more information, see Object Relational Designer (O/R Designer).
You can also use the Visual Studio code editor to write your own mapping code or to customize code that has already been generated. For more information, see Attribute-Based Mapping (LINQ to SQL).
The topics in this section describe how to customize your object model.
Describes how to use Name.
Describes how to use TableAttribute.
Describes how to use ColumnAttribute.
Describes how to use IsPrimaryKey.
Provides examples of using the AssociationAttribute attribute.
Describes how to use IsDbGenerated.
Describes how to use IsVersion.
Describes how to use DbType.
Describes how to use Expression.
Describes how to use Storage.
Describes how to use CanBeNull.
Describes the mappings required to specify an inheritance hierarchy.
Describes how to use UpdateCheck.