Gautam Buddha Temple Varanasi,Varanasi - Buddhist Pilgrimage

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
www.varanasitravel.in

15 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. the blog is very useful, interesting and informative. thank you for sharing the blog with us. keep on updating.
    Android training in chennai

    ReplyDelete
  5. 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
  6. Great site for these post and i am seeing the most of contents have useful for my Carrier.Thanks to such a useful information.Any information are commands like to share him.

    seo training in chennai

    ReplyDelete
  7. I just see the post i am so happy to the communication science post of information's.So I have really enjoyed and reading your blogs for these posts.Any way I’ll be replay for your great thinks and I hope you post again soon.

    digital marketing company in india

    ReplyDelete
  8. 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
  9. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.

    Web Design Company in Chennai

    ReplyDelete
  10. I read your articles very excellent and the i agree our all points because all is very good information provided this through in the post.

    Digital Marketing Company in Chennai

    ReplyDelete
  11. I read your articles very excellent and the i agree our all points because all is very good information provided this through in the post.

    Digital Marketing Company in Chennai

    ReplyDelete
  12. 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
  13. very very amazing explaintion....many things gather about yourself...yes realy i enjoy it
    Digital Marketing company in Chennai

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

    ReplyDelete
  15. Hi,
    Thanks for sharing the information, Plz keep sharing on...
    Thank you...
    DOT NET training in Hyderabad

    ReplyDelete