Entity Framework DbContext in Azure Web Role Entity Framework DbContext in Azure Web Role azure azure

Entity Framework DbContext in Azure Web Role


You can change Model.Context.tt file, to use

CloudConfigurationManager.GetSetting("MyEntities")

in place of

"name=MyEntities"

for MyEntities

So each time when context will be re-created, you will always have your changes. In this case you don't need to change anything else.