Is there a way to create a composite key in efcodefirst with code(model) first.
atm I have this
[Key]
public string ResourceType { get; set; }
public string CultureCode { get; set; }
public string ResourceKey { get; set; }
public string ResourceValue { get; set; }
I need resourcetype+resourcekey to be the composite key.
I found the solution. It is the same as presented here
Composite Key with EF 4.1 Code First