最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

fluent nhibernate mapping - FluentNhibernate map to related entity - Stack Overflow

programmeradmin3浏览0评论

I have the following setup: classes C1, C2, C3

C2 has reference to C1 and C3, both in class and in its db table

class C2
{
  public C1 C1Ref {get; set;}
  public C3 C3Ref {get; set;}
}

I would like to have a property in c3 to c1 without updating the database mapping, is this possible and if so, how?

class C3
{
  public C1 C1Ref {get; set;}
}
发布评论

评论列表(0)

  1. 暂无评论