Click or drag to resize

EntityModelNameValidator Class

Base class which offers name validation services.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.ValidationGeneralNameValidator
    SD.LLBLGen.Pro.ApplicationCore.EntityModel.ValidationEntityModelNameValidator
      More...

Namespace:  SD.LLBLGen.Pro.ApplicationCore.EntityModel.Validation
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public class EntityModelNameValidator : GeneralNameValidator

The EntityModelNameValidator type exposes the following members.

Constructors
  NameDescription
Public methodEntityModelNameValidator(Project)
Initializes a new instance of the EntityModelNameValidator class.
Public methodEntityModelNameValidator(Project, Boolean)
Initializes a new instance of the EntityModelNameValidator class.
Top
Properties
  NameDescription
Protected propertyContainingProject
Gets the containing project.
(Inherited from GeneralNameValidator.)
Public propertyValidationError
Gets the validation error which occured during the last Validate call, or string.Empty if nothing was wrong or Validate hasn't been called yet.
(Inherited from GeneralNameValidator.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetLastValidationError
Sets the last validation error.
(Inherited from GeneralNameValidator.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validates the value specified
(Overrides GeneralNameValidatorValidate(String, Boolean, String).)
Protected methodValidateName
Validates the name specified
(Inherited from GeneralNameValidator.)
Public methodValidateNewEntityModelElementName
Validates whether the name specified is a valid name for a new element in the entity model.
Public methodValidateReportOnly
Validates the value specified and reports a failure as a validation exception, otherwise it ignores the result.
(Inherited from GeneralNameValidator.)
Top
Fields
  NameDescription
Public fieldStatic memberEnableEntityModelNameValidation
Gets or sets a value indicating whether name validation is enabled in the entity model and related model elements. Used by refreshers so names can be set without running into validation errors which are corrected afterwards. Default is true.
Top
See Also
Inheritance Hierarchy