Thursday, July 2, 2015

how to work with Entity Framework project


Steps to create entity frmawork project
1.Create a class library project for Context name YourProjectNameContext.
2.Right click the project and add new edmx.
3.Before creating edmx ensure that your Database is ready with proper relationship.
4.Open edmx file -> right click -> Add code generation Item -> select ADO.Net Self-tracking Entity Generator.
5.Add new Class library project for Entity named yourProjectNameEntities
6.Drag the .tt from Context project and drop it to Entity project.
7.Delete .tt files from Context project.
7.Reference - install entity framework,add refernce system.runtime.services.
8.Create your website/webapi project and add above created projects to here.


Regards
Santosh Singh
Rain Water Harvesting System Click here for info

Best Android Phones Below Rs- 5000

9 comments:

  1. good to know i am using it on musicpaa.com as on my punjabi songs category,,,

    ReplyDelete
  2. Microsoft ASP.NET Course in Delhi- RKM IT institute providing asp.net training, asp.net classes, asp.net course and live project in Delhi. Microsoft's ASP.net is a server-side scripting technology. Net is a platform to develop dynamic web pages in an easy way. .NET is one of the popular framework for developing websites and software.

    ReplyDelete
  3. Thank you so much for taking the time for you to share such a nice information. It was really a wonderful article and I was really impressed by reading this blog. Best Private University Punjab

    ReplyDelete
  4. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care along with the framework.As always, we appreciate you confidence and trust in us.
    Digital Marketing Company in Chennnai

    ReplyDelete
  5. your work is really great, i was searching for these kind of works in many blogs, but i got now only so please update information.


    Tooth Braces In Chennai | Dental Hospital in chennai | Best Root Canal Treatment In Chennai

    ReplyDelete
  6. Excellent goods from you, man. I’ve understand your stuff previous to and you’re just too excellent. I actually like what you’ve acquired here, certainly like what you are stating and the way in which you say it. You make it enjoyable and you still take care of to keep it sensible. I can not wait to read far more from you. This is actually a tremendous site..
    Office Interiors in Chennai
    Home Interior Decorators in Chennai

    ReplyDelete
  7. Really Good article.provided a helpful information about Entity framework.keep updating...
    E-mail marketing company in india

    ReplyDelete
  8. Best Mobile below Rs 15000
    http://technologiescrunch.blogspot.com/2018/08/best-android-smart-phones-under-rs-15000.html

    ReplyDelete