Saturday, 15 May 2010

wpf - Entity Framework Mapping, Annotations and general inforation -



wpf - Entity Framework Mapping, Annotations and general inforation -

i have (i hope) basic problem in using entity framework wpf application.

i followed msdn walkthrough : http://msdn.microsoft.com/en-us/data/jj200620 , says:

many developers rather utilize info annotations fluent api perform configuration.

what understand in mapping "folder" mapping classes useless , people prefere using annotion straight in model classes.

so here, either i'm right , want rid of mapping classes

or i'm wrong , maybe, need kind of guid line start using entity framework

i take code first approche because work on existing database. problem many approach work ef i'm quite confused.

some people using edmx files others utilize reverse engineering annotation fluent api

i can't find finish book, or documentation, fundamental guide of kind latest version of ef .

thank

well basic starter suggest seek code first easy start with, define entities c# classes , later when included in info context automatically create database. codefirst easy mutual cases , quick implement. migration has automation. suggest read blog.

wpf entity-framework annotations

No comments:

Post a Comment