Эта часть кода работает нормально
[Association(Storage = "profile", ThisKey = "UserId", OtherKey = "UserId")]
public Profile User {
get { return this.profile.Entity; }
set { this.profile.Entity = value; }
}
, но если я добавлю в этот класс
System.ComponentModel.DataAnnotations
, ассоциация не будет найдена.
Где находитсяпроблема?