DbProviderServices.DbCreateDatabaseScript(String, StoreItemCollection) Metoda

Definicja

Generuje język definicji danych (skrypt DDL, który tworzy obiekty schematu (tabele, klucze podstawowe, klucze obce) na podstawie zawartości parametru StoreItemCollection i jest ukierunkowany na wersję bazy danych odpowiadającą tokenowi manifestu dostawcy.

protected:
 virtual System::String ^ DbCreateDatabaseScript(System::String ^ providerManifestToken, System::Data::Metadata::Edm::StoreItemCollection ^ storeItemCollection);
protected virtual string DbCreateDatabaseScript (string providerManifestToken, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection);
abstract member DbCreateDatabaseScript : string * System.Data.Metadata.Edm.StoreItemCollection -> string
override this.DbCreateDatabaseScript : string * System.Data.Metadata.Edm.StoreItemCollection -> string
Protected Overridable Function DbCreateDatabaseScript (providerManifestToken As String, storeItemCollection As StoreItemCollection) As String

Parametry

providerManifestToken
String

Token manifestu dostawcy identyfikujący wersję docelową.

storeItemCollection
StoreItemCollection

Struktura bazy danych.

Zwraca

String

Skrypt języka DDL, który tworzy obiekty schematu na podstawie zawartości parametru StoreItemCollection i jest ukierunkowany na wersję bazy danych odpowiadającą tokenowi manifestu dostawcy.

Dotyczy