August 2008
Intermediate to advanced
197 pages
3h 23m
English
In this section we'll cover the following:
Using SQLMetal to produce entity classes and associations automatically
Using the INotifyPropertyChanging interface to communicate with LINQ about changes
Using the optimistic concurrency and database transactions
Using stored procedures
Creating a database from a program
LINQ to SQL has a command-line tool called SQLMetal that generates entity classes, properties, and associations automatically. Table 2-3 lists the SQLMetal options.
| Option | Description |
|---|---|
| /server:<name> | Represents the Microsoft SQL Server server name to which it connects. |
| /database:<name> | Represents the Microsoft SQL Server database name to use to produce ... |
Read now
Unlock full access