开发者

FluentNHibernate - LazyLoad(Lazyness.NoProxy) doesn't exist

开发者 https://www.devze.com 2023-01-27 21:01 出处:网络
i\'m trying to use this feature of Fluent NHibernate: https://github.com/jagregory/fluent-nhibernate/commit/92ad2d8c4ba8391c74fc8e32b36e71722b开发者_StackOverflow63dff0

i'm trying to use this feature of Fluent NHibernate:

https://github.com/jagregory/fluent-nhibernate/commit/92ad2d8c4ba8391c74fc8e32b36e71722b开发者_StackOverflow63dff0

But when i try to say:

HasMany(x => x.Details)
    .Inverse()
    .Cascade.All()
    .LazyLoad(Laziness.NoProxy);

There is no method called LazyLoad which accepts an argument.

My dll tells me i'm using version 1.1.0.685 of Fluent Nhibernate. Please note that i am very new to NHibernate and would appreciate the help. Thanks


Oops my bad. You put it on the other end of the relationship (the many to one side).

0

精彩评论

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

关注公众号