Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
EF4 CTP4には、ModelBuilderにエンティティを一般的に登録するためのRegisterSet関数がありました。Configurations.Add()を使用して、エンティティのマッピングを登録しました。このEF4CTP5を実現する方法
問題の答えを見つけました。彼らは ModelBuilder.Entity().{Configuration} を Property/IsRequired のように公開し、すべて単純型に対応しています。複雑なエンティティには、ComplexTypes のような関数があります。