On Apr 13, 8:22 pm, Fabio Maulo wrote:
> I'm sure that each number has a logic or a RegEx pattern
I am really not sure but I wrote an email to Portuguese Mail asking.
The have an online service that can be used ... line an API.
But this searches a postal code by Region/District/...
--~--~-
I am not sure but you can use annotations but also something as
follows:
public static class BookingManager
{
public static void PlaceBooking(Booking booking)
{
var errors = DataAnnotationsValidationRunner.GetErrors
(booking);
if (errors.Any())
throw new RulesE
I don't know how you're able to use the new features of interpolation of NHV
with xVal, but repeat, I'm not so sure, investigate. I.e:. Now in NHV you
can write a custom message like: "The Customer with Id: ${Id} has a Name
with no valid length: Valid Leng {Min} till {Max}"
On Mon, Apr 13, 2009 at
I'm sure that each number has a logic or a RegEx pattern
2009/4/13 shapper
>
> > Of Portugal or of Brazil ?
> http://nhcontrib.svn.sourceforge.net/viewvc/nhcontrib/trunk/src/NHibe...
> > About Portugal we have an old open issuehttp://
> nhjira.koah.net/browse/NHV-22
>
> Of Portugal. Postal Codes
On Apr 13, 7:20 pm, Dario Quintana
wrote:
> Seems like xVal integrate NHV and xVal to use it with Asp.Net MVC, but you
> should have a look what is going on in
> background:https://xval.svn.codeplex.com/svn/RulesProviders/NHibernateValidator/...
Is it bad? You wrote as a warning ... Something
> Of Portugal or of Brazil
> ?http://nhcontrib.svn.sourceforge.net/viewvc/nhcontrib/trunk/src/NHibe...
> About Portugal we have an old open issuehttp://nhjira.koah.net/browse/NHV-22
Of Portugal. Postal Codes?
In Portugal all postal codes have the format -xxx, where x is a
digit from 0 to 9.
Seems like xVal integrate NHV and xVal to use it with Asp.Net MVC, but you
should have a look what is going on in background:
https://xval.svn.codeplex.com/svn/RulesProviders/NHibernateValidator/NHibernateValidatorRulesProvider.cs
Seems like is providing client&server side validation for NHV, I sh
2009/4/13 shapper
>
> You don't have Portuguese. I can help with that if you tell me what
> you need ...
Of Portugal or of Brazil ?
http://nhcontrib.svn.sourceforge.net/viewvc/nhcontrib/trunk/src/NHibernate.Validator/src/NHibernate.Validator.Specific/Br/
About Portugal we have an old open issue
2009/4/13 shapper
>
>
> On Apr 13, 3:45 pm, Darrell Mozingo wrote:
> >
> > Here's a list of the current validation constraints supported:
> http://nhcontrib.svn.sourceforge.net/viewvc/nhcontrib/trunk/src/NHibe...
> >
> > Darrell Mozingo
>
> Is there a Regex validator? That would be useful.
Yes
On Apr 13, 3:45 pm, Darrell Mozingo wrote:
>
> Here's a list of the current validation constraints
> supported:http://nhcontrib.svn.sourceforge.net/viewvc/nhcontrib/trunk/src/NHibe...
>
> Darrell Mozingo
Is there a Regex validator? That would be useful.
And one to check file type? If file is
On Apr 13, 4:10 pm, Fabio Maulo wrote:
> Perhaps you need some Country specific validators
> too.http://nhcontrib.svn.sourceforge.net/viewvc/nhcontrib/trunk/src/NHibe...
You don't have Portuguese. I can help with that if you tell me what
you need ...
--~--~-~--~~~--
Perhaps you need some Country specific validators too.
http://nhcontrib.svn.sourceforge.net/viewvc/nhcontrib/trunk/src/NHibernate.Validator/src/NHibernate.Validator.Specific/
Or, sometimes, you want share someone ;)
2009/4/13 shapper
>
> Hello,
>
> I am using ASP.NET MVC and I would like to use
Hi Miguel,
You're correct, you only really need the NHibernate.Validator.dll
assembly.
Here's a list of the current validation constraints supported:
http://nhcontrib.svn.sourceforge.net/viewvc/nhcontrib/trunk/src/NHibernate.Validator/src/NHibernate.Validator/Constraints/
Darrell Mozingo
On Ap
13 matches
Mail list logo