Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 465297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:21:43+00:00 2026-05-12T23:21:43+00:00

I have come to the conclusion that the very nifty ASP.NET Dynamic Data framework

  • 0

I have come to the conclusion that the very nifty ASP.NET Dynamic Data framework would be even more nifty if one only had to implement model changes from one side, model or DB. Right now, if I add a column or table, I must refresh my EF model, and then the scaffolding does the dirty work.

I would much prefer a mechanism where I can update my EF model, and have changes pushed back to the DB, or update my DB and programmatically update my EF model. Prototyping on site, without Visual Studio, would be amazing. Just add a column and hit the site.

Are there any projects that deal with this? If not, where should I start looking to learn about either or both of the approaches I mention?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T23:21:44+00:00Added an answer on May 12, 2026 at 11:21 pm

    If you are working against .NEt 4.0 you should look at Code-Only.

    Not only does it allow you to create your models in code (i.e. without an EDMX) it also allows you to deploy your model to a database, like this:

    using (MyContext ctx = new MyContext())
    {
       if (!ctx.DatabaseExists())
          ctx.CreateDatabase();
       ...
       // normal ef code here...
    }
    

    See this tip for more

    While Code-Only is not shipping as part of .NET 4.0, the functions that support this CreateDatabase scenario are being moved from Code-Only into .NET 4.0.

    That hadn’t happened when .NET 4.0 Beta2 shipped, so you have to download the Code-Only bits to get this to work against Beta2.

    But when .NET 4.0 RTMs the CreateDatabase() functions will be in the box.

    Hope this helps

    Alex

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have come to the conclusion that SQL Server CE isn't a viable product.
I have looked extensively through the site and have come to the conclusion that
After carrying out a lot of research I have come to the conclusion that
I have read all your responses and come to the conclusion that is a
I have come to the conclusion that using app domains for my project will
I have come to know from book that for declaring a structure variable it
I have come across scripts that use: isset($_POST['submit']) as well as code that uses:
I have come across a strange problem which I would like to get your
I currently have a listing of data that has a randomly generated order listing.
After running into linker errors one time too many, I have come to the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.