Option Description
/server:name Denotes the database server name.
/database:name Denotes the database (catalog) name.
/user:name Denotes the logon user ID. By default, this option uses Windows
Authentication.
/password:password Denotes the logon password.
/timeout:timeout The time-out value when accessing the database.
/views Extracts database views.
/functions Extracts database functions.
/sprocs Extracts database stored procedures.
/dbml:file Returns output as DBML. Not available for use with the /map option.
/code:file Returns output as source code.
296
Chapter 15: Advanced LINQ to SQL Topics
Option Description
/map:file Generates an XML mapping file instead of attributes. Not available for
use with the /dbml option.
/language:language Denotes the source code language.
/namespace:name Denotes the namespace of the generated code. Default value:
no namespace.
/context:type Denotes the name of the data context class. Default value: Taken from
database name.
/entitybase:type Denotes the base class of the entity class.
/pluralize Pluralizes or singularizes the class and member names.
Pages:
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472