Export (0) Print
Expand All

Database.Delete Method

Entity Framework 5.0

Deletes the database on the database server if it exists, otherwise does nothing.

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

public bool Delete()

Return Value

Type: System.Boolean
True if the database did exist and was deleted; false otherwise.
Show:
© 2015 Microsoft