开发者

does fluent nhibernate support lazy loading of properties

开发者 https://www.devze.com 2023-01-17 08:28 出处:网络
I have a person class with a photo property and i want to load just that one property in a lazy fashion. i see that regular nhibe开发者_Python百科rnate supports it here. is this possible in fluent nhi

I have a person class with a photo property and i want to load just that one property in a lazy fashion. i see that regular nhibe开发者_Python百科rnate supports it here. is this possible in fluent nhibernate to use this feature


Yes, just add .Lazy() to the Fluent mapping.

0

精彩评论

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