METHOD
DatabaseFacade.EnsureCreated()
Creates a database schema if needed without applying migrations.
Formal Syntax & Structure
csharp syntaxcsharp
db.Database.EnsureCreated()Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.db.Database.EnsureCreated()