C:\Users\jim.jackson\Documents\Projects\LinqTester\LinqTester\DataObjects>sqlmetal
Microsoft (R) Database Mapping Generator 2008 version 1.00.21022
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.
SqlMetal [options] []
Generates code and mapping for the LINQ to SQL component of the .NET framework. SqlMetal can:
- Generate source code and mapping attributes or a mapping file from a database.
- Generate an intermediate dbml file for customization from the database.
- Generate code and mapping attributes or mapping file from a dbml file.
Options:
/server: Database server name.
/database: Database catalog on server.
/user: Login user ID (default: use Windows Authentication).
/password: Login password (default: use Windows Authentication).
/conn: Database connection string. Cannot be used with /server, /database, /user or /password options.
/timeout: Timeout value to use when SqlMetal accesses the database (default: 0 which means infinite).
/views Extract database views.
/functions Extract database functions.
/sprocs Extract stored procedures.
/dbml[:file] Output as dbml. Cannot be used with /map option.
/code[:file] Output as source code. Cannot be used with /dbml option.
/map[:file] Generate mapping file, not attributes. Cannot be used with /dbml option.
/language: Language for source code: VB or C# (default: derived from extension on code file name).
/namespace: Namespace of generated code (default: no namespace).
/context: Name of data context class (default: derived from database name).
/entitybase: Base class of entity classes in the generated code (default: entities have no base class).
/pluralize Automatically pluralize or singularize class and member names using English language rules.
/serialization: