This question already has an answer here:
Strange, is this a bug?
"The following item was added to your Stack Exchange "drools" feed."
Mapping composite foreign key to composite primary key where the foreign key is also a primary key
I want to make VM_hostname,datetime and name properties as a composite Key for Disk class . At the same time VM_hostname and datetime of Disk class should refer to VM_hostname and datetime of ...
tagged: entity-framework, entity-framework-6, data-annotations Mar 15 at 19:48
A similar thing has happened with another question a few days ago.