DbProviderServices.DbDeleteDatabase Method (DbConnection, Nullable<Int32>, StoreItemCollection)
Deletes the specified database.
Assembly: EntityFramework (in EntityFramework.dll)
protected virtual void DbDeleteDatabase( DbConnection connection, Nullable<int> commandTimeout, StoreItemCollection storeItemCollection )
Parameters
- connection
-
Type:
System.Data.Common.DbConnection
Connection to an existing database that needs to be deleted.
- commandTimeout
-
Type:
System.Nullable<Int32>
Execution timeout for any commands needed to delete the database.
- storeItemCollection
-
Type:
System.Data.Entity.Core.Metadata.Edm.StoreItemCollection
The collection of all store items from the model. This parameter is no longer used for database deletion.