Home / General / Entity Framework - Object Services Level. Generated Code in (e.g.) Northwind.ObjectLayer.cs
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!

Entity Framework - Object Services Level. Generated Code in (e.g.) Northwind.ObjectLayer.cs

When you use edmgen.exe with /mode:FullGeneration or /mode:EntityClassGeneration you get a file emitted with a bunch of generated code in it.

In particular, that generated code contains a class derived from ObjectContext (such as NorthwindContext) and you also get a bunch of classes that represent your entity types from the EDM (tables and views from the store).

Looking at the code-gen'd file itself it has;

  • Assembly level attributes from the System.Data.Objects.DataClasses





Microsoft news, tips and tricks search

Comments


Post voted by 1 digWinners


Featured Links

User

Login | Register




Forgot Password?

Sponsor

Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!

Featured

Download Free Exchange Ebook

Categories

Upcoming NEW

Recent comments

Related Sites