开发者

NHibernate combining two database tables into one object

I am using FluentNhibernate and i have a question about is. Is it possible two combine data from to different database tables into on entity? I have to work with an access database and an mssql datatbase and to work with both i think it is easier to combine. For example

Db table 1 - name - address - email

Db table 2 - Selected - DateSelection

Is it possible to combine these two into on entity using Nhiber开发者_如何学Pythonnate


No, NHibernate SessionFactory has only unique connection. if you need union two table from difference database, DB2 table 2 make view! in DB1

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜