DslViolationId Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumeration of the predefined DMDM constraint validation Errors. Start Error names with "E", warnings with "W".
public enum class DslViolationId
public enum DslViolationId
type DslViolationId =
Public Enum DslViolationId
- Inheritance
-
DslViolationId
Fields
Name | Value | Description |
---|---|---|
E0000GeneralError | 0 | General error id for debugging. |
N0101XmlDefinitionNoBehavior | 101 | Validation error - XmlDefinition has no XmlSerializationBehavior |
N0110EditorNoValidation | 110 | Validation error - Editor has no Validation |
N0120DslNoDiagram | 120 | Validation error - DSL has no Diagram |
E2020ElementToolCreatingRoot | 2020 | Validation error - tool attempts to create root |
E2030ElementToolWrongType | 2030 | Validation error - tool attempts to create a DomainRelationship or diagram element |
E2050DuplicateToolName | 2050 | Validation error - duplicate tool name |
E2051EmptyToolName | 2051 | Validation error - empty tool name |
E2060ToolboxIconInvalid | 2060 | Validation error - invalid tool icon |
E2061ToolboxIconFileNotFound | 2061 | Validation error - tool icon file not found |
E2070ToolboxHelpKeywordFormat | 2070 | Validation error - tool help key invalid format |
E2080ToolboxCaptionEmpty | 2080 | Validation error - no toolbox item caption |
E2090SourceCursorIconInvalid | 2090 | Validation error - connector source cursor icon filepath invalid |
E2091SourceCursorIconFileNotFound | 2091 | Validation error - connector source cursor icon file not found |
E2100TargetCursorIconInvalid | 2100 | Validation error - connector target cursor icon filepath invalid |
E2101TargetCursorIconFileNotFound | 2101 | Validation error - connector target cursor icon file not found |
E2110DuplicateToolboxTabText | 2110 | Validation error - duplicate toolbox tab title. |
E2111EmptyToolboxTabText | 2111 | Validation error - empty toolbox tab title. |
E2120EditorIconInvalid | 2120 | Validation error - editor icon file path invalid. |
E2121EditorIconFileNotFound | 2121 | Validation error - editor icon file not found. |
E2130EditorFileExtension | 2130 | Validation error - file extension invalid. |
N2140EditorDslMustEqualRootLibrary | 2140 | Validation error - inconsistent DSL referred to by Editor and root class. |
N2150XmlSerializationInconsistent | 2150 | Validation error - inconsistent DSL references from XmlSerialization and designer. |
E2152DslEditorRootClassWrongType | 2152 | Validation error - editor root class is not a plain DomainClass. |
E2155DslEditorRootClassUndefined | 2155 | Validation error - editor root class is not specified. |
W2160EditorRootClassUnequalDiagramClass | 2160 | Validation warning - the Root Class of the Editor should currently be the same as the Diagram class |
E2180InvalidXmlSerializationNamespace | 2180 | Validation error - XmlSerialization invalid XML namespace. |
E2200EditorEmptyGuid | 2200 | Validation error - invalid editor guid |
E2210ExplorerEmptyGuid | 2210 | Validation error - invalid explorer guid |
E2215ExplorerInvalidName | 2215 | Validation error - invalid explorer name |
N2220ExplorerHasNoBehavior | 2220 | Validation error - Explorer has no behavior |
E3000InternalClassName | 3000 | Validation error - Name clashes with generated code. |
E3001InternalXmlName | 3001 | Validation error - XML Name clashes with CDS. |
E3005InvalidDisplayName | 3005 | Validation error - Blank name or displayname. |
E3040DslLibraryClassMemberWrongType | 3040 | Validation error - Dsl Library Classes should all be plain DomainClasses. |
E3041InvalidNamespace | 3041 | Validation error - invalid namespace. |
E3042InvalidIdentifier | 3042 | Validation error - Invalid C# identifier. |
E3043InvalidIdentifierNoContext | 3043 | Validation error - Invalid C# identifier. |
E3045DslLibraryVersionOutOfRange | 3045 | Validation error - Negative version number. |
E3060EnumerationLiteralNameNotUnique | 3060 | Validation error - Duplicate literal name within an enumeration. |
E3061EnumerationValueNotNullOrInteger | 3061 | Validation error - Provided enumeration value is not an integer. |
W3062EnumerationFlagsShouldHaveValues | 3062 | Validation warning - if IsFlags is set, literals should all have values. |
E3070NameNotUniqueSameType | 3070 | Validation error - Duplicate names among DomainClasses in same namespace. |
E3071NameNotUniqueDifferentType | 3071 | Validation error - Duplicate names among DomainClasses in same namespace. |
E3080DomainClassHasCircularInheritance | 3080 | Validation error - circular inheritance among DomainClasses. |
E3090BaseDomainClassIsSealed | 3090 | Validation error - Base class is sealed. |
E3100DuplicateDoubleDerivedClassDefined | 3100 | Validation error - Class name ends "DoubleDerived". |
E3110DslEditorRootClassCannotBeAbstract | 3110 | Validation error - Abstract root class. |
E3120ClassReferredByElementToolCannotBeAbstract | 3120 | Validation error - Abstract tool class. |
W3130OrphanDomainClass | 3130 | Validation error - class not transitively embedded in root. |
E3160BaseDomainClassAccessibility | 3160 | Validation error - Base class less accessible than derived. |
E3170DomainPropertyNameNotUnique | 3170 | Validation error - Duplicate property name. |
E3171DomainPropertyNameNotAllowed | 3171 | Validation error - property name clash with implicit base class. |
E3180DomainPropertyNameClashWithClass | 3180 | Validation error - Property and role names clash. |
E3181DomainRoleNameClashWithInternal | 3181 | Validation error - Property name clash with implicit base class. |
E3182RolePropertyNameClashWithInternal | 3182 | Validaiton error - Property name clash with implicit base class. |
E3185RolePropertyPrivateNoDerivation | 3185 | Validation error - can't override role property if private |
E3190InvalidDefaultValue | 3190 | Validation error - default value not valid for property. |
E3192DefaultValueNotUsingInvariantCulture | 3192 | Validation error - default value not using InvariantCulture. |
W3200InvalidDefaultDomainValue | 3200 | Validation error - default value not valid for property. |
E3230OnlyOneDomainPropertyElementNameTrueAllowed | 3230 | Validation error - Multiple properties marked IsElementName. |
E3240ElementNameProviderIsNotAllowed | 3240 | Validation error - ElementNameProvider but not IsElementName. |
E3241NamePropertyWrongType | 3241 | Validation error - non-string property marked IsElementName. |
E3250PropertyTypeAccessibility | 3250 | Validation error - property type less accessible than property. |
E3260MonikersInaccessible | 3260 | Validation error - MonikerKey or Moniker Qualifier is private or internal |
E3280TypeDefinedInOtherModel | 3280 | Validation error - Type is defined in a separate model not imported by this. |
E3285InvalidPropertyType | 3285 | Validation error - Invalid property type. |
E3300DomainRoleNameNotUnique | 3300 | Validation error - Duplicate role name. |
E3310AllowDupInconsistentWithEmbeddingAndMultiplicity | 3310 | Validation error - AllowDuplicate means not an Embedding and Multiplicity many. |
E3320MismatchingAllowDupFromBaseRelationship | 3320 | Validation error - AllowDuplicate must be consistent with base relationship. |
E3331MismatchBaseClassAndBaseRelationship | 3331 | Validation error - Relationship cannot inherit from DomainClass. |
E3340MismatchBaseClassLink | 3340 | Validation error - Base class links must be of correct type. |
E3350TargetRolePlayerMustBeProperDomainClassInEmbeddingRelationship | 3350 | Validation error - Target of embedding may not be a relationship. |
E3360MismatchingIsEmbeddingFromBaseRelationship | 3360 | Validation error - IsEmbedding must match base relationship. |
E3370BaseRelationMustBeAbstractWhenIsEmbeddingMismatchFromBase | 3370 | Validation error - IsEmbedding must match base. |
W3380AbstractDomainRelationWithMultiplicityOneMustHaveChild | 3380 | Validation error - abstract relationship with a non-zero multiplicity but no child. |
E3390AbstractRelationshipCannotBeReferredByLinkConnectDirective | 3390 | Validation error - link connect directive must refer to a DomainClass. |
E3420BaseRelationshipRolePlayerIncompatible | 3420 | Validation error - Role player of base relationship is not a base of this roleplayer. |
E3430RolePlayerAndDomainRelationshipDifferentModel | 3430 | Validation error - roleplayer and relationship are in different models. |
E3432SourceRolePlayerDifferentModel | 3432 | Validation error - Source roleplayer in different model (cannot serialize). |
N3435InvalidRole | 3435 | Validation error - missing or invalid role. |
E3440DomainRolePropertyNameInvalid | 3440 | Validation error - invalid or missing role property name. |
E3445DomainRolePlayerInvalid | 3445 | Validation error - invalid or missing role player. |
E3450RoleCollectionTypeIncompatibleWithMultiplicity | 3450 | Validation error - specified role collection type is mismatched to the multiplicity. |
E3460InconsistentEmbeddedRoleMultiplicityAmongDescendents | 3460 | Validation error - multiplicities must be compatible with base. |
N3461RootIsEmbeddedTarget | 3461 | Validation error - Editor Root is also target of embedding with 'one' multiplicity. |
E3465TargetMultiplicityMaxOne | 3465 | Validation error - Embedding relationships may not have "many" target multiplicity. |
W3470DerivedDomainRelationshipMustBeInstantiated | 3470 | Validation error - abstract relationship with non-zero multiplicity forces derived relations to be instantiated. |
E3480DerivedRelationshipLowerBoundZero | 3480 | Validation error - mismatched derived relationship multiplicity. |
W3490DerivedRelationshipCannotBeInstantiated | 3490 | Validation error - concrete base with multiplicity One prevents children from being instantiated. |
W3500BaseRelationshipMissingAbstract | 3500 | Validation error - Base relationship is not abstract. |
E3510DerivedRelationshipUpperBoundMustBeOne | 3510 | Validation error - mismatched derived relationship multiplicity. |
W3520ChangeBaseDomainRelationLowerBound | 3520 | Validation error - inappropriate multiplicity on base relationship. |
W3565InheritSerializeId | 3565 | Validation error - SerializeId required. |
E3570ReferenceTargetRequiresMonikerOrSerialize | 3570 | Validation error - moniker required. |
W3571ReferenceTargetRequiresMonikerSerializeOrCustom | 3571 | Validation warning - moniker required. |
E3575AllowsDuplicateRequiresMonikerOrSerialize | 3575 | Validation error - moniker required. |
W3576AllowsDuplicateRequiresMonikerSerializeOrCustom | 3576 | Validation warning - moniker required. |
N3640EmptyGuid | 3640 | Validation error - empty guid not allowed - no open. |
E4000PathMustHaveSegments | 4000 | Validation error - empty path not allowed. |
E4005InvalidRole | 4005 | Validation error - invalid or missing role in path. |
E4010PathSegmentDislocation | 4010 | Validation error - target of path segment not compatible with source of next. |
E4015PathInitialDislocation | 4015 | Validation warning - target of path segment not with initial class. |
E4020PathElementSegmentDislocation | 4020 | Validation error - target of path segment not compatible with source of next. |
E4030OnlyLastLinksMultiple | 4030 | Validation error - multiple links not allowed except as final path segment. |
E4040PathEndDislocation | 4040 | Validation error - final segment of path incompatible with target class. |
E4100PropertyNotInContainer | 4100 | Validation error - property in path belongs to a different class from that referred to |
E4110NoPropertyInPropertyPath | 4110 | Validation error - no property defined in a property path. |
E4120CannotParseDomainPath | 4120 | Validation error - domain path can't be parsed |
4125 | Validation error - Invalid Explorer behaviour hidden node domain path |
|
E5000ElementMergeMissingIndex | 5000 | Validation error - no index class in ElementMerge. |
E5010DuplicateElementMergeDirectives | 5010 | Validation error - two ElementMerges for same index class. |
E5030ElementMergeHasForwardingAndLinkCreation | 5030 | Validation error - ElementMerge has both forwarding and link creation paths. |
E5031ElementMergeHasForwardingAndCustom | 5031 | Validation error - ElementMerge has not forwarding path and IsCustom set. |
E5040ElementMergeHasCollectionForwardingPath | 5040 | Validation error - ElementMerge forwarding path must not be multiple. |
E5050LinkCreationPathTarget | 5050 | Validation error - LinkCreation path is not compatible with index class. |
E5060LinkCreationPathMustBeLinks | 5060 | Validation error - link creation path must end in a links segment. |
E5070LinkCreationPathMustNotBeAbstract | 5070 | Validation error - the final segment of a link creation path must not be abstract. |
E5090RolePlayerConnectDirectivePathCollection | 5090 | Validation error - RolePlayerConnectDirective must not be a collection path. |
E5110DuplicateConnectionBuilderNames | 5110 | Validation error - duplicate ConnectionBuilder names. |
E5111ConnectionBuilderEmptyName | 5111 | Validation error - empty ConnectionBuilder name. |
E5130LinkDirectiveCustomOrRelationship | 5130 | Validation error - ConnectionBuilder must either have a LinkConnectDirective or be UsesCustomConnect. |
E5150LinkConnectorTargetTypeIncompatible | 5150 | Validation error - LinkConnectDirective wrong target type. |
W6001UnresolvedLibraryImport | 6001 | Validation warning - Bad path in Dsllibrary import |
W6002CircularLibraryImport | 6002 | Validation warning - Circular Dsllibrary import detected |
E6010RootCannotBeSerialized | 6010 | Validation error - Root class must have SerializeId or a Moniker Key. |
E6040XmlClassDataDuplicateTypeName | 6040 | Validation error - Duplicate type names for XmlClassData |
E6041XmlClassDataInvalidTypeName | 6041 | Validation error - Empty type name in XmlClassData. |
E6060XmlClassDataDuplicateElementName | 6060 | Validation error - duplicate element names in XmlClassData. |
E6061XmlClassDataInvalidElementName | 6061 | Validation error - empty element name in XmlClassData. |
E6062XmlClassDataInvalidClass | 6062 | Validation error - invalid or missing class moniker in XmlClassData. |
E6065XmlElementNameSameAsMoniker | 6065 | Validation error - MonikerElementName must not be same as ElementName |
E6067XmlInvalidMonikerAttributeName | 6067 | Validation error - Moniker attribute name must be valid XML name |
E6068XmlInvalidMonikerElementName | 6068 | Validation error - Moniker element name must be valid XML name |
E6070XmlPropertyMoniker | 6070 | Validation error - invalid property moniker in XmlClassData. |
E6071DuplicateMonikerKey | 6071 | Validation error - more than one property marked as moniker key. |
E6072DuplicateMonikerQualifier | 6072 | Validation error - more than one property marked as moniker qualifier. |
E6085InvalidDomainRelationshipReference | 6085 | Validation error - Invalid domain relationship moniker. |
E6086IncompatibleDomainRelationshipReference | 6086 | Validation error - Invalid domain relationship moniker. |
E6087InvalidRoleElementName | 6087 | Validation error - Invalid domain relationship moniker. |
W6088RoleElementNameIgnored | 6088 | Validation warning - RoleElementName not required with Omit. |
W6090NoUseFullFormOrOmitOnAbstract | 6090 | Validation warning - No Omit nor UseFullForm on abstract relationships. |
W6100DerivedRelationUseFullForm | 6100 | Validation error - UseFullForm in a derived relationship. |
W6110DerivedRelationNoOmit | 6110 | Validation error - omit not recommended on derived relationship. |
E6115PropertiesUseFullForm | 6115 | Validation error - UseFullForm required. |
E6117AllowDuplicatesUseFullForm | 6117 | Validation error - UseFullForm required. |
E6125CustomRelationsUseFullForm | 6125 | Validation error - Set UseFullForm where the relationship is custom. |
E6130XmlPropertyDataInvalidDomainProperty | 6130 | Validation error - invalid or missing domain property moniker in XmlPropertyData. |
E6140DuplicateXmlElementName | 6140 | Validation error - Duplicate Xml property or role element name in XmlClassData. |
E6150MonikerMustBeAttributeRepresentation | 6150 | Validation error - do not set Ignore in properties that are Moniker Key or Qualifier. |
W6160MonikerShouldBeName | 6160 | Validation warning - Moniker should be Element Name |
W6170MonikerShouldHaveDefault | 6170 | Validation warning - Moniker should be have a default value |
E7010NegativeWidthHeightThickness | 7010 | Validation error - negative width, height or thickness. |
N7050IncompatibleBase | 7050 | Validation error - incompatible base shape. |
E7080FixedTooltipTextEmpty | 7080 | Validation error - TooltipText marked as fixed, but none supplied. |
E7100DuplicateDecoratorName | 7100 | Validation error - Duplicate decorator name. |
E7101EmptyDecoratorName | 7101 | Validation error - empty decorator name. |
E7140ExpandCollapseNotOnShape | 7140 | Validation error - ExpandCollapse decorator inappropriate on this diagram element. |
E7150IconDecoratorImageInvalid | 7150 | Validation error - invalid icon decorator file path. |
E7151IconDecoratorImageFileNotFound | 7151 | Validation error - icon decorator file not found. |
E7160ImageShapeImageInvalid | 7160 | Validation error - invalid image file path. |
E7161ImageShapeImageFileNotFound | 7161 | Validation error - image shape file not found. |
E7170CompartmentNameDuplicate | 7170 | Validation error - duplicate compartment name. |
E7171CompartmentNameEmpty | 7171 | Validation error - empty compartment name. |
E7180CompartmentFontSizeOutOfRange | 7180 | Validation error - invalid font size. |
E7200ElementMergeInvalidOnShape | 7200 | Validation error - element merge not valid on a shape. |
E7210ElementCustomMergeInvalidOnDiagramElement | 7210 | Validation error - custom merge invalid on a diagram. |
E7220ElementMergeLinkCreationPathsInvalidOnDiagramElement | 7220 | Validation error - link creation paths not valid on a diagram. |
W7310BadCompartmentDecoratorLocation | 7310 | Validation warning - compartment decorator should be Outer or InnerTop. |
N8075ShapeMapInvalidShapeOrClass | 8075 | Validation error - invalid or missing shape or class moniker. |
E8077ShapeMapParentElementPathNull | 8077 | Validation error - parent element must not be null |
E8080ShapeMapParentElementNotCollection | 8080 | Validation error - parent element must not be a collection. |
E8100MappedShapeOccursInUnmappedShapes | 8100 | Validation error - shape occurs both in mapped shapes and unmapped shapes list. |
E8130MappingDiagramClass | 8130 | Validation error - can't map diagram class. |
E8140ShapeMapInvalidForCompartmentShape | 8140 | Validation error - use CompartmentShapeMap for a CompartmentShape. |
E8141ShapeMapInvalidForSwimLane | 8141 | Validation error - use appropriate map for a SwimLane. |
E8142NoShapeNorDiagramMappedToParentElement | 8142 | Validation error - no shape or diagram mapped to parent element path (or non-abstract subclasses). |
W8143SubclassOfParentElementNotMappedToShapeNorDiagram | 8143 | Vaildation warning - subclass of parent isn't mapped to shape or diagram. |
E8145InvalidParentShapeType | 8145 | Validation error - invalid shape parenting. |
E8146InvalidParentSubclassShapeType | 8146 | Validation error - invalid shape parenting. |
E8150DuplicateCompartment | 8150 | Validation error - duplicate compartment map. |
E8155MissingCompartmentMap | 8155 | Validation error - compartment not mapped. |
E8160CompartmentElementsDisplayedCollection | 8160 | Validation error - compartments must display collections. |
E8161CompartmentElementsDisplayedInvalid | 8161 | Validation error - missing ElementsDisplayed in compertment map. |
N8180InvalidCompartment | 8180 | Validation error - invalid or missing comparment moniker. |
E8191CompartmentMapPropertyDisplayedInvalid | 8191 | Validation error - invalid custom string. |
E8201ConnectorMapMissingRelationOrConnector | 8201 | Validation error - invalid ConnectorMap. |
E8210ConnectorMapSourceNotMapped | 8210 | Validation error - invalid ConnectorMap. |
E8211ConnectorMapTargetNotMapped | 8211 | Validation error - invalid ConnectorMap. |
E8215ConnectorMapNotAbstract | 8215 | Validation error - invalid ConnectorMap. |
N8220InvalidDecoratorMapDecoratorReference | 8220 | Validation error - invalid DecoratorMap. |
E8225InvalidDecoratorMapNoVisibilityOrProperty | 8225 | Validation error - decorator map has neither visibility nor property path |
E8230InconsistentSwimlaneAlignment | 8230 | Validation error - swimlanes oriented in different directions. |
E8250DuplicateShapeMap | 8250 | Validation error - two shapemaps map the same shape to the same class. |
E8260InconsistentConnectorMapCustomization | 8260 | Validation error - differing customization settings on maps to same connector. |
E8265DuplicateConnectorMap | 8265 | Validation error - two connector maps map the same relationship and connector. |
E9060PropertyPathInTypeDescriptor | 9060 | Validation error - invalid property path. |
W9065DomainTypeDescriptorHasIncompatibleProperties | 9065 | Validation warning - DomainTypeDescriptor has both CustomCoded=true and PropertyPaths specified |
W9070DomainTypeDescriptorPropertiesNotSpecified | 9070 | Validation warning - DomainTypeDescriptor has neither CustomCoded=true nor any PropertyPaths specified |