It's used for ValidateIsUniqueAttribute. When you mark a property with this attribute it will be validated in the database that it doesn't already exist.
On Sun, Jan 25, 2009 at 1:02 PM, Darius Damalakas < [email protected]> wrote: > I just noticed that Castle.ActiveRecord is dependant upon > Castle.Components.Validator > Is this intentional? > > I would prefer not to have yet another dll which i do not use, if it would > be possible. > > > The dependancy is in > Castle.ActiveRecord.Framework.Internal.ActiveRecordModelBuilder class, which > has this field: > private static readonly IValidatorRegistry validatorRegistry = new > CachedValidationRegistry(); > > -- > Darius Damalakas > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" 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/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
