| title | Creating the Object Model | |
|---|---|---|
| ms.custom | ||
| ms.date | 03/30/2017 | |
| ms.prod | .net-framework | |
| ms.reviewer | ||
| ms.suite | ||
| ms.technology |
|
|
| ms.tgt_pltfrm | ||
| ms.topic | article | |
| ms.assetid | 27afce86-9b1d-45fb-8e0b-636bf671a236 | |
| caps.latest.revision | 3 | |
| author | douglaslMS | |
| ms.author | douglasl | |
| manager | craigg | |
| ms.workload |
|
You can create your object model from an existing database and use the model in its default state. You can also customize many aspects of the model and its behavior.
If you are using [!INCLUDEvs_current_short], you can use the [!INCLUDEvs_ordesigner_long] to create your object model.
How to: Generate the Object Model in Visual Basic or C#
Describes how to use the SQLMetal command-line tool. Also provides a link to the [!INCLUDEvs_ordesigner_long] for [!INCLUDEvs_current_short] users
How to: Generate the Object Model as an External File
Describes how to generate an external mapping file instead of using attribute-based mapping.
How to: Generate Customized Code by Modifying a DBML File
Describes how to generate [!INCLUDEvbprvb] or C# code from a DBML metadata file.
How to: Validate DBML and External Mapping Files
Describes how to validate mapping files that you have modified (advanced).
How to: Make Entities Serializable
Describes how to add appropriate attributes to make entities serializable.
How to: Customize Entity Classes by Using the Code Editor
Describes how to use the code editor to write your own mapping code, or customize code that has been autogenerated.
The LINQ to SQL Object Model
Provides details about the [!INCLUDEvbtecdlinq] object model.
Typical Steps for Using LINQ to SQL
Explains the typical steps that you follow to implement a [!INCLUDEvbtecdlinq] application.