Share via


DbProviderServices.DbCreateDatabase メソッド

定義

接続で示されるデータベースを作成し、StoreItemCollection の内容に基づくスキーマ オブジェクト (テーブル、主キー、外部キー) を作成します。

protected:
 virtual void DbCreateDatabase(System::Data::Common::DbConnection ^ connection, Nullable<int> commandTimeout, System::Data::Metadata::Edm::StoreItemCollection ^ storeItemCollection);
protected virtual void DbCreateDatabase (System.Data.Common.DbConnection connection, int? commandTimeout, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection);
abstract member DbCreateDatabase : System.Data.Common.DbConnection * Nullable<int> * System.Data.Metadata.Edm.StoreItemCollection -> unit
override this.DbCreateDatabase : System.Data.Common.DbConnection * Nullable<int> * System.Data.Metadata.Edm.StoreItemCollection -> unit
Protected Overridable Sub DbCreateDatabase (connection As DbConnection, commandTimeout As Nullable(Of Integer), storeItemCollection As StoreItemCollection)

パラメーター

connection
DbConnection

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

commandTimeout
Nullable<Int32>

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

storeItemCollection
StoreItemCollection

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

適用対象