なぜORM(オブジェクト関係モデル)では、ブッククラスのこのサンプルの外部キー列パブリッシャーはパブリッシャーのクラスですが、長いタイプ(データベースパブリッシャーではforeignkeyとBigint)を使用できるのはなぜですか?
public class Publisher
{
[XmlAttribute]
public string Title { get; set; }
[XmlAttribute]
public string Address { get; set; }
}
public class Book
{
[XmlElement]
public Publisher Publisher { get; set; } ******
[XmlAttribute]
public string Title { get; set; }
[XmlAttribute]
public short PrintYear { get; set; }
[XmlAttribute]
public short Pages { get; set; }
[XmlAttribute]
public string ISBN { get; set; }
}