Welcome to the CodeSmith Community!

Re: Rules for NHibernate

Template Frameworks

A description has not yet been added to this group.

Rules for NHibernate

Answered (Verified) This question is answered

I have been using the NHibernate templates and really enjoying them. I have also been watching a lot of the PLINQO videos on YouTube and was wondering if the rules feature was part of NHibernate templates? Specifically, I'd like to call the RuleManager to validate objects manually, but do not see how to do this in the NHibernate templates. They seem to be part of the PLINQO templates just not the NHibernate.


For example, I'd like to do what I see in the video

var user = new User{EmailAddress = "spock"};

var result = db.RuleManager.Run(sser);



  • Post Points: 35
Verified Answer
Page 1 of 1 (3 items)