@itwin/core-backend
Version:
iTwin.js backend components
91 lines (88 loc) • 3.4 kB
text/xml
<ECSchema schemaName="IModelChange" alias="imodelchange" version="2.0.0" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2">
<ECSchemaReference name="ECDbChange" version="01.00.01" alias="change"/>
<ECSchemaReference name="CoreCustomAttributes" version="01.00.01" alias="CoreCA"/>
<ECEntityClass typeName="ChangeSet" modifier="Sealed">
<ECCustomAttributes>
<DbIndexList xmlns="ECDbMap.02.00.00">
<Indexes>
<DbIndex>
<Name>ix_imodelchange_ChangeSet_ParentWsgId</Name>
<Properties>
<string>ParentWsgId</string>
</Properties>
</DbIndex>
<DbIndex>
<Name>uix_imodelchange_ChangeSet_WsgId</Name>
<IsUnique>True</IsUnique>
<Properties>
<string>WsgId</string>
</Properties>
</DbIndex>
<DbIndex>
<Name>ix_imodelchange_ChangeSet_PushDate</Name>
<Properties>
<string>PushDate</string>
</Properties>
</DbIndex>
<DbIndex>
<Name>ix_imodelchange_ChangeSet_UserCreated</Name>
<Properties>
<string>UserCreated</string>
</Properties>
</DbIndex>
</Indexes>
</DbIndexList>
</ECCustomAttributes>
<ECNavigationProperty propertyName="Summary" relationshipName="ChangeSummaryIsExtractedFromChangeset" direction="backward">
<ECCustomAttributes>
<ForeignKeyConstraint xmlns="ECDbMap.02.00.00">
<OnDeleteAction>Cascade</OnDeleteAction>
</ForeignKeyConstraint>
</ECCustomAttributes>
</ECNavigationProperty>
<ECProperty propertyName="ParentWsgId" typeName="string">
<ECCustomAttributes>
<PropertyMap xmlns="ECDbMap.02.00.00">
<Collation>NoCase</Collation>
</PropertyMap>
</ECCustomAttributes>
</ECProperty>
<ECProperty propertyName="WsgId" typeName="string">
<ECCustomAttributes>
<PropertyMap xmlns="ECDbMap.02.00.00">
<Collation>NoCase</Collation>
</PropertyMap>
</ECCustomAttributes>
</ECProperty>
<ECProperty propertyName="Description" typeName="string">
<ECCustomAttributes>
<PropertyMap xmlns="ECDbMap.02.00.00">
<Collation>NoCase</Collation>
</PropertyMap>
</ECCustomAttributes>
</ECProperty>
<ECProperty propertyName="PushDate" typeName="dateTime">
<ECCustomAttributes>
<DateTimeInfo xmlns="CoreCustomAttributes.01.00.01">
<DateTimeKind>Utc</DateTimeKind>
</DateTimeInfo>
</ECCustomAttributes>
</ECProperty>
<ECProperty propertyName="UserCreated" typeName="string">
<ECCustomAttributes>
<PropertyMap xmlns="ECDbMap.02.00.00">
<Collation>NoCase</Collation>
</PropertyMap>
</ECCustomAttributes>
</ECProperty>
</ECEntityClass>
<ECRelationshipClass typeName="ChangeSummaryIsExtractedFromChangeset" modifier="Sealed" strength="embedding">
<Source multiplicity="(1..1)" roleLabel="is created from" polymorphic="false">
<Class class="change:ChangeSummary"/>
</Source>
<Target multiplicity="(0..1)" roleLabel="is source of" polymorphic="false">
<Class class="ChangeSet"/>
</Target>
</ECRelationshipClass>
</ECSchema>