を使用して SubSonic 3 でリレーションを処理するにはどうすればよいSimpleRepository
ですか? 例: Author と Book がある (以下を参照) Book が永続化されるときに、割り当てられた Author も永続化されるようにします。
[Serializable]
public class Book
{
public int Id { get; set; }
public string Title { get; set; }
public Author Author { get; set; }
}
[Serializable]
public class Author
{
public int Id { get; set; }
public string Name { get; set; }
}