Create Azure SQL database programmatically

added by DotNetKicks
10/9/2018 12:56:47 PM

1 Kicks, 1362 Views

Using the default database creation technique of EF Core like dbContext.Database.EnsureCreated or dbContext.Database.Migrate you can't configure your database much like size, Collation, Elastic Pool etc. If you want to configure database properties before creating one then you need to use Azure SDK for .NET library.