开发者

ActiveRecord with mvc3

开发者 https://www.devze.com 2023-04-01 16:16 出处:网络
I have an application built in MVC3 in C#. Use ActiveRecord 3.0 and NHibernate 3.1 without problems, but I needed to improve the performance and I put in the relationships [HasMany(Lazy=true)] the at

I have an application built in MVC3 in C#.

Use ActiveRecord 3.0 and NHibernate 3.1 without problems, but I needed to improve the performance and I put in the relationships [HasMany(Lazy=true)] the attribute Lazy=True, for not reading the related registrations, but he is always bring开发者_如何学运维ing all of the registrations.

Does anybody have some idea of the one what can be?


The problem, was not a problem, but a characteristic of Nhibernate and ActiveRecord in enviroment medium trust.

It was worth!

0

精彩评论

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