That is, an Employee entity class contains data for a single employee.
However, object renaming can be turned off. To do so, in the Visual Studio EDI, select Tools ??? Options
to open the Options dialog. Expand the Database Tools node, and select the O/R Designer option, shown
in Figure 15-12. Then set the Enabled property to False to turn off pluralization of names.
Pluralization is available only in the English-language version of Visual Studio.
SQL Metal
SQL Metal is a command-line tool that generates the LINQ to SQL mapping code and other components
necessary for LINQ to SQL. It performs a myriad of different functions, including the following:
??‘ Generates source code and mapping attributes (or mapping file) from a database.
??‘ Generates a custom DBML file from a database.
??‘ Generates source code and mapping attributes (or mapping file) from a DBML file.
Because it??™s a command-line tool, it is necessary to supply options (parameters) when executing it. The
following table lists the available options when using the SqlMetal tool.
Pages:
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471