tag:blogger.com,1999:blog-3924739636407907202.post4150307049285084134..comments2023-10-07T05:59:41.036-03:00Comments on HunabKu: NHibernate.Validator & NHibernateFabio Maulohttp://www.blogger.com/profile/13558454874302740335noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-3924739636407907202.post-2355901859986159742010-03-22T13:15:37.036-03:002010-03-22T13:15:37.036-03:00Prehaps you are looking for
http://fabiomaulo.blog...Prehaps you are looking for<br />http://fabiomaulo.blogspot.com/2010/01/nhibernatevalidator-changing-validation.htmlFabio Maulohttps://www.blogger.com/profile/13558454874302740335noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-49452334091809946582010-03-22T12:12:53.104-03:002010-03-22T12:12:53.104-03:00Fabio, I have been doing some digging into NH Vali...Fabio, I have been doing some digging into NH Validator and one things I can't seem to find any information on is how to implement complex entity level validation. For example, what if certain combination of property values are not valid. How does one implement this? A common example is an address where we want to apply different regex validations to the postal code depending on the countryUnknownhttps://www.blogger.com/profile/10041804120859259355noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-21812655846728866622009-10-29T11:00:53.962-03:002009-10-29T11:00:53.962-03:00Somebody have asked about uniquess validation.
Loo...Somebody have asked about uniquess validation.<br />Look at comments <a href="http://fabiomaulo.blogspot.com/2009/10/advanced-nhibernatevalidator.html" rel="nofollow">here</a>Fabio Maulohttps://www.blogger.com/profile/13558454874302740335noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-35261044565374682132009-10-29T10:46:09.844-03:002009-10-29T10:46:09.844-03:00woot! that was quick!woot! that was quick!Unknownhttps://www.blogger.com/profile/00106771733124659509noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-12142669510764319222009-10-29T10:33:36.725-03:002009-10-29T10:33:36.725-03:00_ Yes (how is too long to explain but think about ..._ Yes (how is too long to explain but think about that NHV know NH)<br />_ Sure if you are not using DDL integration or a custom NotNullable (Attribute or via satisfier)<br />_ Yes, with NHV you can validate anything you want.<br />_ coming soo (tomorrow on this channel)Fabio Maulohttps://www.blogger.com/profile/13558454874302740335noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-63803784435699695602009-10-29T10:28:41.164-03:002009-10-29T10:28:41.164-03:00Hi Fabio!
i'm currently using castle val. cau...Hi Fabio!<br /><br />i'm currently using castle val. cause some time ago it looked more extensible and DI works nicer than with nhv. time goes by and i'm thinking hard of switching to nhv, so i have the following questions:<br /><br />you advice to pay attention to look at the db queries when validating a object graph with somenthing else than nhv. does nhv handle fetching, and if how?<brUnknownhttps://www.blogger.com/profile/00106771733124659509noreply@blogger.com