DbProviderServices.CreateDatabase メソッド

定義

接続で示されるデータベースを作成し、スキーマ オブジェクトを作成します。

public:
 void CreateDatabase(System::Data::Common::DbConnection ^ connection, Nullable<int> commandTimeout, System::Data::Metadata::Edm::StoreItemCollection ^ storeItemCollection);
public void CreateDatabase (System.Data.Common.DbConnection connection, int? commandTimeout, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection);
member this.CreateDatabase : System.Data.Common.DbConnection * Nullable<int> * System.Data.Metadata.Edm.StoreItemCollection -> unit
Public Sub CreateDatabase (connection As DbConnection, commandTimeout As Nullable(Of Integer), storeItemCollection As StoreItemCollection)

パラメーター

connection
DbConnection

作成して、storeItemCollection パラメーターで示されるストア オブジェクトを設定する必要がある、存在しないデータベースへの接続。

commandTimeout
Nullable<Int32>

データベースの作成に必要なすべてのコマンドの実行タイムアウト。

storeItemCollection
StoreItemCollection

作成するスクリプトの基となるすべてのストア アイテムのコレクション。

適用対象