I can execute EF Core's Database.EnsureCreated()
programmatically, when my web application starts, and everything EF Core related code in place, and is working properly.
Is there any way to execute something similar from PM> console? (just like add-migration
or update-database
), but I do not want any migration, just the same effect what executing Database.EnsureCreated()
from code.