DbProviderServices.CreateDatabaseScript(String, StoreItemCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates a data definition language (DDL script that creates schema objects (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token.
public:
System::String ^ CreateDatabaseScript(System::String ^ providerManifestToken, System::Data::Metadata::Edm::StoreItemCollection ^ storeItemCollection);
public string CreateDatabaseScript (string providerManifestToken, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection);
member this.CreateDatabaseScript : string * System.Data.Metadata.Edm.StoreItemCollection -> string
Public Function CreateDatabaseScript (providerManifestToken As String, storeItemCollection As StoreItemCollection) As String
Parameters
- providerManifestToken
- String
The provider manifest token identifying the target version.
- storeItemCollection
- StoreItemCollection
The structure of the database.
Returns
A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token.