DbProviderServices.DbDeleteDatabase 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
刪除指定的資料庫。
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
需要刪除之現有資料庫的連接。
- storeItemCollection
- StoreItemCollection
來自模型的所有存放區專案的集合。 這個參數不再用於資料庫刪除。