逆プロパティが複合型のプロパティを参照することは可能ですか?
これは、私がやりたいことの構造を示す不自然な例です。
public class MyType {
public MyName Name { get; set; }
}
[ComplexType]
public class MyName {
public int ProfileId {get; set;}
[ForeignKey("ProfileId")]
public Profile Profile{get; set;}
}
public class Profile
{
[InverseProperty("Name.Profile")]
public virtual IList<MyType> MyTypes{ get;set;}
}