2012-01-06 74 views
1

是否有一種方法可以完全忽略這些約定,以便Code First不會嘗試自動將任何屬性映射到數據庫字段,並且我自己完全手動定義自己的映射?EF代碼首先忽略屬性到字段慣例?

+0

看看這個鏈接。 http://stackoverflow.com/questions/5370518/ef-4-1-code-first-is-there-an-easy-way-to-remove-all-conventions – 2012-01-06 18:45:05

回答