次の方法で共有


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

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

適用対象