ECRuleSet Object literal

Deprecated  Moved to the ecschema-editing package.

Beta  

All schema validation rules that fall under the category of ECObjects.

Properties

Name Default Value Description
classRules `[
baseClassIsSealed,
baseClassIsOfDifferentType,
abstractClassWithNonAbstractBase,
]`  
customAttributeInstanceRules `[
validateCustomAttributeInstance,
]`  
entityClassRules `[
mixinAppliedToClassMustDeriveFromConstraint,
]`  
enumerationRules `[
enumerationTypeUnsupported,
]`  
name ruleSetName  
propertyRules `[
incompatibleValueTypePropertyOverride,
incompatibleTypePropertyOverride,
incompatibleUnitPropertyOverride,
validateNavigationProperty,
]`  
relationshipConstraintRules `[
atLeastOneConstraintClassDefined,
abstractConstraintMustExistWithMultipleConstraints,
]`  
relationshipRules `[
abstractConstraintMustNarrowBaseConstraints,
constraintClassesDeriveFromAbstractContraint,
derivedConstraintsMustNarrowBaseConstraints,
]`  
schemaRules `[
validateSchemaReferences,
]`  

Defined in

Last Updated: 25 June, 2021