开发者

Equivalent for IDbSet<T> in Fluent NHibernate?

开发者 https://www.devze.com 2023-02-05 20:19 出处:网络
Hey there, I\'开发者_如何学Cve started to play around with Fluent NHibernate and now I want to could do something like IDbSet<T> like I could in EF Code First.. However I cant find any equivalen

Hey there, I'开发者_如何学Cve started to play around with Fluent NHibernate and now I want to could do something like IDbSet<T> like I could in EF Code First.. However I cant find any equivalent interface?

Thanks in adavance!


In NHibernate you operate with entities through the ISession interface (reference docs with example). You may wrap the session in a repository if you want (example: Sharp Architecture repository)

0

精彩评论

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

关注公众号