DropCreateDatabaseIfModelChanges

Discussion in 'ASP.NET / ASP.NET Core' started by LouisLouis, Feb 20, 2012.

  1. Hello,

    I have a MVC application that use Code First so my database is created by my application when I change something in my classes (creating a model using the Entity Framework designer in Visual Studio. When the model is finished, the designer can generate DDL (data definition language) statements to create the database). See http://www.asp.net/mvc/tutorials/ge...ork-data-model-for-an-asp-net-mvc-application.

    It's possible to create or recreate my database at discountasp.net (I got the addin database SQL Server 2008 R2) when my application need to do it?

    Thank you.
     
  2. dmitri

    dmitri DiscountASP.NET Staff

    It is not possible to create/delete a databases on our shared production SQL Servers. The databases can be created by the provisioning system only when you order a new database in the addon manager of our hosting control panel.
     

Share This Page