ObjectContext.DeleteDatabase Method ()

 

Deletes the database that is specified as the database in the current data source connection.

Namespace:   System.Data.Entity.Core.Objects
Assembly:  EntityFramework (in EntityFramework.dll)

public virtual void DeleteDatabase()