Hello,
I have the following;
using NHibernate;
using NHibernate.Validator;
using System;
using System.Collections.Generic;
public class ArticleValidator : ValidationDef<Article> {
public ArticleValidator() {
Define(x => x.Title).LengthBetween(3, 20);
}
}
Both ValidationDef and Define are not being recognized.
What am I missing?
Thanks,
Miguel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---