ObjectContext.CreateDatabase ObjectContext.CreateDatabase ObjectContext.CreateDatabase ObjectContext.CreateDatabase Method

Definition

Creates the database by using the current data source connection and the metadata in the StoreItemCollection.

public:
 void CreateDatabase();
public void CreateDatabase ();
member this.CreateDatabase : unit -> unit
Public Sub CreateDatabase ()

Remarks

Call CreateDatabaseScript to view the data definition language (DDL) script. Call CreateDatabase to execute the script.

Most of the work is delegated to the CreateDatabase method.

For more information, see Working with Data Definition Language.

Applies to

See also