开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜