1

Is there a way to then ignore the conventions completely, so that Code First doesn't try to map any properties to database fields at all automatically, and I just define my own mapping completely manually on my own?

kaya3
  • 47,440
  • 4
  • 68
  • 97
Razi Syed
  • 289
  • 2
  • 12
  • Check out this link. http://stackoverflow.com/questions/5370518/ef-4-1-code-first-is-there-an-easy-way-to-remove-all-conventions – J.W. Jan 06 '12 at 18:45

1 Answers1

0

Here's a blog which explains how to remove all conventions. it will work for upcoming versions too. http://blog.cincura.net/232283-removing-all-conventions-in-entity-framework-4-1-code-first/

Arash Shakery
  • 82
  • 1
  • 4
  • 1
    Thanks for the reply, but I had already tried this. It doesn't remove assuming that each property is mapped to a table field. – Razi Syed Jan 06 '12 at 22:59