Method CreateDatabase
- Namespace
- MongoDB.EntityFrameworkCore.Storage
- Assembly
- MongoDB.EntityFrameworkCore.dll
CreateDatabase(IModel)
Create a new database with the name specified in the connection options.
public bool CreateDatabase(IModel model)
Parameters
Returns
Remarks
If the database already exists only new collections will be created.