EntityModelNameValidator Class |
Namespace: SD.LLBLGen.Pro.ApplicationCore.EntityModel.Validation
The EntityModelNameValidator type exposes the following members.
Name | Description | |
---|---|---|
EntityModelNameValidator(Project) |
Initializes a new instance of the EntityModelNameValidator class.
| |
EntityModelNameValidator(Project, Boolean) |
Initializes a new instance of the EntityModelNameValidator class.
|
Name | Description | |
---|---|---|
ContainingProject |
Gets the containing project.
(Inherited from GeneralNameValidator.) | |
ValidationError |
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.) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetLastValidationError |
Sets the last validation error.
(Inherited from GeneralNameValidator.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Validate |
Validates the value specified
(Overrides GeneralNameValidatorValidate(String, Boolean, String).) | |
ValidateName |
Validates the name specified
(Inherited from GeneralNameValidator.) | |
ValidateNewEntityModelElementName |
Validates whether the name specified is a valid name for a new element in the entity model.
| |
ValidateReportOnly |
Validates the value specified and reports a failure as a validation exception, otherwise it ignores the result.
(Inherited from GeneralNameValidator.) |
Name | Description | |
---|---|---|
EnableEntityModelNameValidation |
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.
|