Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
why code first approach does not contain .edmx file?
how to manage object oriented language to relational without .edmx in code first?

hi please explain in simple terms...
Thank You.
Posted
Updated 8-Jan-13 2:49am
v3

1 solution

EDMX is declarative. CodeFirst implements "convention[^] over code" concept. The mapping is derived from those conventions or DataAnnotation[^] attributes. In some cases this is not enough, and you can use Custom Mapping[^], but that's also code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900