Language

DbProviderServices.DbDeleteDatabase メソッド

定義

指定したデータベースを削除します。

protected virtual void DbDeleteDatabase(System.Data.Common.DbConnection connection, Nullable<int> commandTimeout, System.Data.Entity.Core.Metadata.Edm.StoreItemCollection storeItemCollection);
abstract member DbDeleteDatabase : System.Data.Common.DbConnection * Nullable<int> * System.Data.Entity.Core.Metadata.Edm.StoreItemCollection -> unit
override this.DbDeleteDatabase : System.Data.Common.DbConnection * Nullable<int> * System.Data.Entity.Core.Metadata.Edm.StoreItemCollection -> unit

パラメーター

connection
DbConnection

削除する必要がある既存のデータベースへの接続。

commandTimeout
Nullable<Int32>

データベースを削除するために必要なコマンドの実行タイムアウト。

storeItemCollection
StoreItemCollection

モデルからのすべてのストア 項目のコレクション。 このパラメーターは、データベースの削除には使用されなくなりました。

適用対象