ASP.NET 4.0 and the Entity Framework 4 - Part 1 - Create a Database using Model-First Development
page 3 of 3
by Vince Varallo
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 28494/ 37

Summary

That's all you need to do to create a database using the new Entity Framework's Model First methodology. This is a big improvement over the first edition because it allows you to use Visual Studio to work through the design of you objects first and then VS can figure out how to create the database tables, indexes, and relationships for you.

This is just the first in a series of articles that will dive deep into the Entity Framework 4 and ASP.NET 4.0. In the next article I'll show you how to display records in a GridView, and also add, update, and delete records using the Entity Framework 4. Good luck on your project and happy coding.


View Entire Article

User Comments

Title: Kasparov   
Name: Garry Kasparov
Date: 2012-09-27 3:15:40 PM
Comment:
This is an excellent article and tutorial to start with. Great Work !!!

I look forward to seeing the next articles.
Title: wer   
Name: werwer
Date: 2012-09-21 7:23:31 AM
Comment:
werwer
Title: Select execute sql is not getting in pop-up menu   
Name: Silver
Date: 2012-01-27 12:06:55 AM
Comment:
How to execute the OrderDB.edmx.sql file? it can't be found in the pop-up menu once I right click it
Title: Mr   
Name: Vibhor
Date: 2011-12-19 5:56:57 AM
Comment:
Easy and good
Title: Select execute sql is not getting in pop-up menu   
Name: execute sql
Date: 2011-03-31 1:45:03 AM
Comment:
It is important to note that the tables weren't added to the database yet. In order to actually create the tables you need to right click in the OrderDB.edmx.sql file and select Execute SQL from the pop-up menu. You'll be prompted to log into the server that contains your database. Once you are logged in the script will execute and the objects will be added to your database.
Title: Mr   
Name: Varun Maggo
Date: 2011-03-16 4:18:07 AM
Comment:
You Rock Maan!

I need to follow your aricles now :)

varun.maggo@hotmail.com
Title: Nice tutorial   
Name: PongGod
Date: 2011-01-26 1:08:44 AM
Comment:
Thanks, this makes a great starting point for developers wanting to dive into Entity Framework.
Title: EF4 to demonstrate   
Name: EF4 to demonstrate
Date: 2010-11-18 5:10:43 AM
Comment:
EF4 to demonstrate
Title: Great Article   
Name: mailvipuls@yahoo.com
Date: 2010-09-10 7:42:44 AM
Comment:
Could you please tell me when do u publish next article on Entity Framework.
This article is superb.
Regards
Vipul
Title: Good work   
Name: NurulH
Date: 2010-05-23 10:20:46 AM
Comment:
Good work, thanks
Title: Good Start   
Name: bdjm
Date: 2010-04-21 11:02:24 AM
Comment:
This is a good start, but Microsoft & Pluralsight do a much better job. See the hands on lab at:

http://code.msdn.microsoft.com/EntityFxHOLPDC09/Release/ProjectReleases.aspx?ReleaseId=3494
Title: Excellent WalkThrough   
Name: Sreedevi
Date: 2010-03-31 6:52:51 AM
Comment:
This is an excellent article. Got the insight of VS2010.

Thanks
Title: Eagerly Looking For Next Article   
Name: purna
Date: 2010-03-29 10:01:39 AM
Comment:
good
Title: Eagerly Looking For Next Article   
Name: Balu
Date: 2010-03-26 10:17:03 AM
Comment:
Hi
Could you please tell me when do u publish next article on Entity Framework.
This article is superb.
Regards
Balu
Title: Next Article   
Name: Jon Osmanson
Date: 2010-03-13 6:34:14 PM
Comment:
When are you going to have the next article, that continues the entity framework 4.0? On insert, update, delete, select? Please be soon!!!
Title: Publish Date   
Name: Vince Varallo
Date: 2010-02-26 8:39:12 AM
Comment:
I'll be writing a series of articles on this website to develop out a similar pattern described in the book but will be using EF 4 rather than LINQ to SQL. There isn't a date for the second version of the book.
Title: Publish date of "Vince Varallo"'s book   
Name: hasan boby
Date: 2010-02-26 2:55:15 AM
Comment:
I know "Vince Varallo, "the author of this article is going to include the “Entity Framework 4” in his writing 2nd edition of his great book, titled “ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution”. I am just curious about when the 2nd edition of the book is coming. I mean the rough idea of publish date. I can’t wait to read it.
Title: Hire Asp.Net Developer   
Name: cis.neeraj07@gmail.com
Date: 2010-02-15 12:41:46 AM
Comment:
The article is good provides useful information & helpful as well.I like the article very much as it is very informative as it give information about ASP.NET application Entity Framework 4 and in future hope to see more of such articles.
Title: Very Good   
Name: Shashi
Date: 2010-02-11 1:43:38 AM
Comment:
Please explain more how to use it in real time project
Title: Good   
Name: Henry
Date: 2010-02-10 4:49:48 AM
Comment:
please explain more how to use this in three tier architecture
Title: Great!!!!!!   
Name: Majid Ismail
Date: 2010-02-10 12:02:29 AM
Comment:
This is really a great way to build Database from modal. I'll look forward for some more detail articles about Entity FrameWork.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-27 12:33:08 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search