Export (0) Print
Expand All

Database.Exists Method

Entity Framework 5.0

Checks whether or not the database exists on the server.

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

public bool Exists()

Return Value

Type: System.Boolean
True if the database exists; false otherwise.
Show:
© 2014 Microsoft