.net - spring.net validation -
I am trying to use the Spring.net framework for the first time. I want to use its recognition capabilities. I am currently trying to validate the business object, so I have defined many assumptions (in the app config file). IOc (Contextragyrie.GetContact (.). GetObject (name of the validator) through these assumptions again I would like to know whether it is possible to associate a vidyator for an object because it is in the Enterprise Library
Thank you for your time
IValidator validator = ContextRegistry.GetContext (). GetObject ("Validate Name") as IValidator; Iliadenian Aroras LegalizationAir = New Verification Arrows (Validator.Validate (myObjectToValidate, LegalizationAir);
You can also use the validation aspect (using attributes)
Comments
Post a Comment