Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ObjectContext::CreateDatabaseScript Method ()

Entity Framework 6.0
 

Generates a data definition language (DDL) script that creates schema objects (tables, primary keys, foreign keys) for the metadata in the StoreItemCollection . The StoreItemCollection loads metadata from store schema definition language (SSDL) files.

Namespace:   System.Data.Entity.Core.Objects
Assembly:  EntityFramework (in EntityFramework.dll)

public:
virtual String^ CreateDatabaseScript()

Return Value

Type: System::String^

A DDL script that creates schema objects for the metadata in the StoreItemCollection .

Return to top
Show: