Composite keys in EF CodeFirst

added by goranobradovic
7/8/2012 1:49:44 PM

0 Kicks, 142 Views

It is not very often a case that you need composite key in your db, but when you have such domain then you cannot make a good model if your orm tool does not support composite keys. EF CodeFirst has recently improved this support (last time I needed it it was not any good), but there are not many resources/samples out there. Here is one.