C# Class nHydrate.Generator.Common.ValidationHelper

Afficher le fichier Open project: nHydrate/nHydrate

Méthodes publiques

Свойство Type Description
ErrorTextAssociativeTableMustHave2Relations string
ErrorTextAssociativeTableNotImmutable string
ErrorTextAssociativeTableNotInherited string
ErrorTextAuditFieldMatchBase string
ErrorTextAuditFieldsNotUnique string
ErrorTextBaseTableNonGenerated string
ErrorTextChildTableRelationIdentity string
ErrorTextColumnCannotHaveDefault string
ErrorTextColumnDecimalPrecision string
ErrorTextColumnDecimalScale string
ErrorTextColumnDefault string
ErrorTextColumnDuplicateNameMatch string
ErrorTextColumnInvalidDefault string
ErrorTextColumnLengthNotZero string
ErrorTextColumnMaxNotSupported string
ErrorTextColumnsRequired string
ErrorTextComponentMustHaveTablePK string
ErrorTextComponentProjectSameName string
ErrorTextComponentTableDuplicateName string
ErrorTextComputeColumnNoFormula string
ErrorTextComputeColumnNoPK string
ErrorTextComputeNonColumnHaveFormula string
ErrorTextConflictingRelationships string
ErrorTextDataTypeNotSupported string
ErrorTextDecimalColumnTooSmall string
ErrorTextDuplicateCodeFacade string
ErrorTextDuplicateName string
ErrorTextDuplicateRelation string
ErrorTextDuplicateRelationFullHierarchy string
ErrorTextDuplicateRoleName string
ErrorTextDuplicateStaticData string
ErrorTextExistingSPNeedsDBName string
ErrorTextIdentityOnlyOnePerTable string
ErrorTextIdentityPKNotOnlyKey string
ErrorTextInvalidCodeFacade string
ErrorTextInvalidCompany string
ErrorTextInvalidCompanyAbbreviation string
ErrorTextInvalidDatabase string
ErrorTextInvalidIdentifier string
ErrorTextInvalidIdentityColumn string
ErrorTextInvalidInheritance string
ErrorTextInvalidNamespace string
ErrorTextInvalidProject string
ErrorTextMinMaxValueInvalidType string
ErrorTextMinMaxValueMismatch string
ErrorTextMultiFieldRelationsMapDifferentFields string
ErrorTextMutableInherit string
ErrorTextNameConfictsWithGeneratedCode string
ErrorTextNoColumns string
ErrorTextNoPrimaryKey string
ErrorTextNoTables string
ErrorTextPackageRequiresDisplayName string
ErrorTextParentTableNoRelation string
ErrorTextPreDefinedNameField string
ErrorTextPrimaryKeyNull string
ErrorTextRelationCausesNameConflict string
ErrorTextRelationDuplicate string
ErrorTextRelationFieldNotMatchAssociatedTable string
ErrorTextRelationM_NNameDuplication string
ErrorTextRelationM_NRoleMismatch string
ErrorTextRelationMustHaveParentChild string
ErrorTextRelationshipTypeMismatch string
ErrorTextRoleNoStartNumber string
ErrorTextSQLRequired string
ErrorTextSelfRefChildColumnPK string
ErrorTextSelfRefMustHaveRole string
ErrorTextSelfRefOnlyOne string
ErrorTextTableAssociativeNeedsNonOverlappingColumns string
ErrorTextTableAssociativeNoAuditTracking string
ErrorTextTableBadStaticData string
ErrorTextTableColumnNameMatch string
ErrorTextTableColumnNonPrimaryRelationNotUnique string
ErrorTextTableComponentNoColumns string
ErrorTextTableCompositeNoColumns string
ErrorTextTableDoesNotAllowModification string
ErrorTextTableNotHave1IdentityOnly string
ErrorTextTableProjectSameName string
ErrorTextTypeTableIsMutable string
ErrorTextTypeTableNoData string
ErrorTextTypeTablePrimaryKey string
ErrorTextTypeTableStaticDataEmpty string
ErrorTextTypeTableTextField string

Méthodes publiques

Méthode Description
IsValidNamespace ( string namespaceValue ) : bool
MakeCodeIdentifer ( string name ) : string
MakeDatabaseIdentifier ( string name ) : string
MakeDatabaseScriptIdentifier ( string name ) : string
ValidCodeIdentifier ( string name ) : bool

Determines if the specified value is a valid C# token

ValidDatabaseIdenitifer ( string name ) : bool
ValidFieldIdentifier ( string name ) : bool

Determines if the specified value matches any reserved words for objects

Method Details

IsValidNamespace() public static méthode

public static IsValidNamespace ( string namespaceValue ) : bool
namespaceValue string
Résultat bool

MakeCodeIdentifer() public static méthode

public static MakeCodeIdentifer ( string name ) : string
name string
Résultat string

MakeDatabaseIdentifier() public static méthode

public static MakeDatabaseIdentifier ( string name ) : string
name string
Résultat string

MakeDatabaseScriptIdentifier() public static méthode

public static MakeDatabaseScriptIdentifier ( string name ) : string
name string
Résultat string

ValidCodeIdentifier() public static méthode

Determines if the specified value is a valid C# token
public static ValidCodeIdentifier ( string name ) : bool
name string
Résultat bool

ValidDatabaseIdenitifer() public static méthode

public static ValidDatabaseIdenitifer ( string name ) : bool
name string
Résultat bool

ValidFieldIdentifier() public static méthode

Determines if the specified value matches any reserved words for objects
public static ValidFieldIdentifier ( string name ) : bool
name string
Résultat bool

Property Details

ErrorTextAssociativeTableMustHave2Relations public_oe static_oe property

public static string ErrorTextAssociativeTableMustHave2Relations
Résultat string

ErrorTextAssociativeTableNotImmutable public_oe static_oe property

public static string ErrorTextAssociativeTableNotImmutable
Résultat string

ErrorTextAssociativeTableNotInherited public_oe static_oe property

public static string ErrorTextAssociativeTableNotInherited
Résultat string

ErrorTextAuditFieldMatchBase public_oe static_oe property

public static string ErrorTextAuditFieldMatchBase
Résultat string

ErrorTextAuditFieldsNotUnique public_oe static_oe property

public static string ErrorTextAuditFieldsNotUnique
Résultat string

ErrorTextBaseTableNonGenerated public_oe static_oe property

public static string ErrorTextBaseTableNonGenerated
Résultat string

ErrorTextChildTableRelationIdentity public_oe static_oe property

public static string ErrorTextChildTableRelationIdentity
Résultat string

ErrorTextColumnCannotHaveDefault public_oe static_oe property

public static string ErrorTextColumnCannotHaveDefault
Résultat string

ErrorTextColumnDecimalPrecision public_oe static_oe property

public static string ErrorTextColumnDecimalPrecision
Résultat string

ErrorTextColumnDecimalScale public_oe static_oe property

public static string ErrorTextColumnDecimalScale
Résultat string

ErrorTextColumnDefault public_oe static_oe property

public static string ErrorTextColumnDefault
Résultat string

ErrorTextColumnDuplicateNameMatch public_oe static_oe property

public static string ErrorTextColumnDuplicateNameMatch
Résultat string

ErrorTextColumnInvalidDefault public_oe static_oe property

public static string ErrorTextColumnInvalidDefault
Résultat string

ErrorTextColumnLengthNotZero public_oe static_oe property

public static string ErrorTextColumnLengthNotZero
Résultat string

ErrorTextColumnMaxNotSupported public_oe static_oe property

public static string ErrorTextColumnMaxNotSupported
Résultat string

ErrorTextColumnsRequired public_oe static_oe property

public static string ErrorTextColumnsRequired
Résultat string

ErrorTextComponentMustHaveTablePK public_oe static_oe property

public static string ErrorTextComponentMustHaveTablePK
Résultat string

ErrorTextComponentProjectSameName public_oe static_oe property

public static string ErrorTextComponentProjectSameName
Résultat string

ErrorTextComponentTableDuplicateName public_oe static_oe property

public static string ErrorTextComponentTableDuplicateName
Résultat string

ErrorTextComputeColumnNoFormula public_oe static_oe property

public static string ErrorTextComputeColumnNoFormula
Résultat string

ErrorTextComputeColumnNoPK public_oe static_oe property

public static string ErrorTextComputeColumnNoPK
Résultat string

ErrorTextComputeNonColumnHaveFormula public_oe static_oe property

public static string ErrorTextComputeNonColumnHaveFormula
Résultat string

ErrorTextConflictingRelationships public_oe static_oe property

public static string ErrorTextConflictingRelationships
Résultat string

ErrorTextDataTypeNotSupported public_oe static_oe property

public static string ErrorTextDataTypeNotSupported
Résultat string

ErrorTextDecimalColumnTooSmall public_oe static_oe property

public static string ErrorTextDecimalColumnTooSmall
Résultat string

ErrorTextDuplicateCodeFacade public_oe static_oe property

public static string ErrorTextDuplicateCodeFacade
Résultat string

ErrorTextDuplicateName public_oe static_oe property

public static string ErrorTextDuplicateName
Résultat string

ErrorTextDuplicateRelation public_oe static_oe property

public static string ErrorTextDuplicateRelation
Résultat string

ErrorTextDuplicateRelationFullHierarchy public_oe static_oe property

public static string ErrorTextDuplicateRelationFullHierarchy
Résultat string

ErrorTextDuplicateRoleName public_oe static_oe property

public static string ErrorTextDuplicateRoleName
Résultat string

ErrorTextDuplicateStaticData public_oe static_oe property

public static string ErrorTextDuplicateStaticData
Résultat string

ErrorTextExistingSPNeedsDBName public_oe static_oe property

public static string ErrorTextExistingSPNeedsDBName
Résultat string

ErrorTextIdentityOnlyOnePerTable public_oe static_oe property

public static string ErrorTextIdentityOnlyOnePerTable
Résultat string

ErrorTextIdentityPKNotOnlyKey public_oe static_oe property

public static string ErrorTextIdentityPKNotOnlyKey
Résultat string

ErrorTextInvalidCodeFacade public_oe static_oe property

public static string ErrorTextInvalidCodeFacade
Résultat string

ErrorTextInvalidCompany public_oe static_oe property

public static string ErrorTextInvalidCompany
Résultat string

ErrorTextInvalidCompanyAbbreviation public_oe static_oe property

public static string ErrorTextInvalidCompanyAbbreviation
Résultat string

ErrorTextInvalidDatabase public_oe static_oe property

public static string ErrorTextInvalidDatabase
Résultat string

ErrorTextInvalidIdentifier public_oe static_oe property

public static string ErrorTextInvalidIdentifier
Résultat string

ErrorTextInvalidIdentityColumn public_oe static_oe property

public static string ErrorTextInvalidIdentityColumn
Résultat string

ErrorTextInvalidInheritance public_oe static_oe property

public static string ErrorTextInvalidInheritance
Résultat string

ErrorTextInvalidNamespace public_oe static_oe property

public static string ErrorTextInvalidNamespace
Résultat string

ErrorTextInvalidProject public_oe static_oe property

public static string ErrorTextInvalidProject
Résultat string

ErrorTextMinMaxValueInvalidType public_oe static_oe property

public static string ErrorTextMinMaxValueInvalidType
Résultat string

ErrorTextMinMaxValueMismatch public_oe static_oe property

public static string ErrorTextMinMaxValueMismatch
Résultat string

ErrorTextMultiFieldRelationsMapDifferentFields public_oe static_oe property

public static string ErrorTextMultiFieldRelationsMapDifferentFields
Résultat string

ErrorTextMutableInherit public_oe static_oe property

public static string ErrorTextMutableInherit
Résultat string

ErrorTextNameConfictsWithGeneratedCode public_oe static_oe property

public static string ErrorTextNameConfictsWithGeneratedCode
Résultat string

ErrorTextNoColumns public_oe static_oe property

public static string ErrorTextNoColumns
Résultat string

ErrorTextNoPrimaryKey public_oe static_oe property

public static string ErrorTextNoPrimaryKey
Résultat string

ErrorTextNoTables public_oe static_oe property

public static string ErrorTextNoTables
Résultat string

ErrorTextPackageRequiresDisplayName public_oe static_oe property

public static string ErrorTextPackageRequiresDisplayName
Résultat string

ErrorTextParentTableNoRelation public_oe static_oe property

public static string ErrorTextParentTableNoRelation
Résultat string

ErrorTextPreDefinedNameField public_oe static_oe property

public static string ErrorTextPreDefinedNameField
Résultat string

ErrorTextPrimaryKeyNull public_oe static_oe property

public static string ErrorTextPrimaryKeyNull
Résultat string

ErrorTextRelationCausesNameConflict public_oe static_oe property

public static string ErrorTextRelationCausesNameConflict
Résultat string

ErrorTextRelationDuplicate public_oe static_oe property

public static string ErrorTextRelationDuplicate
Résultat string

ErrorTextRelationFieldNotMatchAssociatedTable public_oe static_oe property

public static string ErrorTextRelationFieldNotMatchAssociatedTable
Résultat string

ErrorTextRelationM_NNameDuplication public_oe static_oe property

public static string ErrorTextRelationM_NNameDuplication
Résultat string

ErrorTextRelationM_NRoleMismatch public_oe static_oe property

public static string ErrorTextRelationM_NRoleMismatch
Résultat string

ErrorTextRelationMustHaveParentChild public_oe static_oe property

public static string ErrorTextRelationMustHaveParentChild
Résultat string

ErrorTextRelationshipTypeMismatch public_oe static_oe property

public static string ErrorTextRelationshipTypeMismatch
Résultat string

ErrorTextRoleNoStartNumber public_oe static_oe property

public static string ErrorTextRoleNoStartNumber
Résultat string

ErrorTextSQLRequired public_oe static_oe property

public static string ErrorTextSQLRequired
Résultat string

ErrorTextSelfRefChildColumnPK public_oe static_oe property

public static string ErrorTextSelfRefChildColumnPK
Résultat string

ErrorTextSelfRefMustHaveRole public_oe static_oe property

public static string ErrorTextSelfRefMustHaveRole
Résultat string

ErrorTextSelfRefOnlyOne public_oe static_oe property

public static string ErrorTextSelfRefOnlyOne
Résultat string

ErrorTextTableAssociativeNeedsNonOverlappingColumns public_oe static_oe property

public static string ErrorTextTableAssociativeNeedsNonOverlappingColumns
Résultat string

ErrorTextTableAssociativeNoAuditTracking public_oe static_oe property

public static string ErrorTextTableAssociativeNoAuditTracking
Résultat string

ErrorTextTableBadStaticData public_oe static_oe property

public static string ErrorTextTableBadStaticData
Résultat string

ErrorTextTableColumnNameMatch public_oe static_oe property

public static string ErrorTextTableColumnNameMatch
Résultat string

ErrorTextTableColumnNonPrimaryRelationNotUnique public_oe static_oe property

public static string ErrorTextTableColumnNonPrimaryRelationNotUnique
Résultat string

ErrorTextTableComponentNoColumns public_oe static_oe property

public static string ErrorTextTableComponentNoColumns
Résultat string

ErrorTextTableCompositeNoColumns public_oe static_oe property

public static string ErrorTextTableCompositeNoColumns
Résultat string

ErrorTextTableDoesNotAllowModification public_oe static_oe property

public static string ErrorTextTableDoesNotAllowModification
Résultat string

ErrorTextTableNotHave1IdentityOnly public_oe static_oe property

public static string ErrorTextTableNotHave1IdentityOnly
Résultat string

ErrorTextTableProjectSameName public_oe static_oe property

public static string ErrorTextTableProjectSameName
Résultat string

ErrorTextTypeTableIsMutable public_oe static_oe property

public static string ErrorTextTypeTableIsMutable
Résultat string

ErrorTextTypeTableNoData public_oe static_oe property

public static string ErrorTextTypeTableNoData
Résultat string

ErrorTextTypeTablePrimaryKey public_oe static_oe property

public static string ErrorTextTypeTablePrimaryKey
Résultat string

ErrorTextTypeTableStaticDataEmpty public_oe static_oe property

public static string ErrorTextTypeTableStaticDataEmpty
Résultat string

ErrorTextTypeTableTextField public_oe static_oe property

public static string ErrorTextTypeTableTextField
Résultat string