Click or drag to resize
EntityCoreTFieldsCreateValidator Method
Creates the validator object for this entity. Routine is called when the entity is constructed. Implement in an entity class to set a particular entity validator object at construction time. Use this routine if you don't want to use LLBLGen Pro's build in dependency injection mechanism.

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
protected virtual IValidator CreateValidator()

Return Value

Type: IValidator
ready to use validator.
Remarks
Users of the .NET compact framework can't use dependency injection and should use this method instead
See Also