c# - Entity Framework 6 where did key and column attributes go -
I'm upgrading to Unit Framework 4.1.0.0 in Unit Framework 6 and I have really tough time tracking where all < / P>
I have a class that looks like this and is using these properties but now I
[key, column (order = 1)] public at person id {get; Set; } [Key, Columns (Order = 2)] Public Int Workout Id {Received; Set; } Etc ... - Can not find out how the location features of the name are
- Even find out if I use them
- EEF can not liberate the class and rebuild it because the DB code is the first - I think ..
- Disclaimer: I have never worked before the code because I like that my ADMX file is being rebuilt from scratch
Zhe can tell you in the right direction? MSDN Docs has some less, what I need in the EF 6 upgrade guide (found here) and you will not expect my last (not really - I do not see what I'm looking for). < / Div>
I'm not sure that I understand your question, but all EF 6 CF properties are: System.ComponentModel Data Annotation
You can find here and here:
Comments
Post a Comment