I need to create Database (along with Schema) from EDMX file in Entity Framework 6 + PostGres. I'm using Npgsql.2.2.5.
I tried to create it using below code.
using(var ctx = new DatabaseContentEntities()){
ctx.CreateDatabase();
}
But it was giving me an error message like
CreateDatabase is not supported by the provider
Do the Npgsql support this, if yes please Can anyone tell me how can I solve this.
Thanks in advance.