-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathFields.ecschema.xml
16 lines (16 loc) · 1.01 KB
/
Fields.ecschema.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<ECSchema schemaName="Fields" alias="MyFields" version="01.00.00" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.1" description="A schema for classifying types of fields">
<ECEntityClass typeName="RedField" displayLabel="Red Field Label" modifier="Sealed"/>
<ECEntityClass typeName="GreenField" displayLabel="Green Field Label">
<ECProperty propertyName="Description" typeName="string" description="Description of the field"/>
<ECProperty propertyName="Data" typeName="binary" description="Encoded field properties"/>
</ECEntityClass>
<ECRelationshipClass typeName="RedFieldHasNeighborGreenField" strength="referencing" strengthDirection="forward" modifier="None">
<Source multiplicity="(1..1)" roleLabel="has neighbor" polymorphic="true">
<Class class="RedField"/>
</Source>
<Target multiplicity="(0..1)" roleLabel="is a neighbor of" polymorphic="true">
<Class class="GreenField"/>
</Target>
</ECRelationshipClass>
</ECSchema>