开发者

NHibernate combining two database tables into one object

开发者 https://www.devze.com 2023-01-20 18:56 出处:网络
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 datatb

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

精彩评论

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