Code: Select all
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
[System.ComponentModel.DataAnnotations.Key]
[System.ComponentModel.DataAnnotations.StringLength(50)]
[System.ComponentModel.DataAnnotations.Required()]
public string Name
Code: Select all
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public string Name
What am I missing?
Thx for the help. I know I'm going to feel stupid when you tell me .