@bentley/imodeljs-linux-x64 4.6.9 → 4.6.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,62 +1,68 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- =====================================================================================
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the repository root for full copyright notice.
5
- ========================================================================================== -->
6
- <ECSchema schemaName="ECDbMap" alias="ecdbmap" version="02.00.02" description="Custom attributes that customize ECDb's ECSchema to database mapping." displayLabel="ECDb DB Mapping" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2">
7
- <ECCustomAttributeClass typeName="SchemaMap" modifier="Sealed" appliesTo="Schema">
8
- <ECProperty propertyName="TablePrefix" typeName="string" description="Specifies a prefix for generated tables. If not specified, the alias of the ECSchema is used"/>
9
- </ECCustomAttributeClass>
10
-
11
- <ECCustomAttributeClass typeName="ClassMap" modifier="Sealed" appliesTo="EntityClass, RelationshipClass">
12
- <ECProperty propertyName="MapStrategy" typeName="string" description="Defines how the ECClass is mapped to table(s). Values: OwnTable (default), TablePerHierarchy, ExistingTable, NotMapped"/>
13
- <ECProperty propertyName="TableName" typeName="string" description="If MapStrategy is 'ExistingTable' provide the table name here. Must not be set in all other cases."/>
14
- <ECProperty propertyName="ECInstanceIdColumn" typeName="string" description="Optionally specify the name of custom 'primary key' column which must be of type Int64."/>
15
- </ECCustomAttributeClass>
16
-
17
- <ECCustomAttributeClass typeName="JoinedTablePerDirectSubclass" description="Maps subclasses and their children to a joined table. Can only be applied to classes in a hierarchy using MapStrategy TablePerHierarchy." modifier="Sealed" appliesTo="EntityClass"/>
18
-
19
- <ECCustomAttributeClass typeName="ShareColumns" description="Allows to share columns amongst ECProperties. Can only be applied to MapStrategy TablePerHierarchy" modifier="Sealed" appliesTo="EntityClass, RelationshipClass">
20
- <ECProperty propertyName="ApplyToSubclassesOnly" typeName="boolean" description="False (Default):Columns are shared for the properties of the ECClass to which this CA is applied and all its subclasses. True: Columns are not shared for this ECClass but for all of its subclasses."/>
21
- <ECProperty propertyName="MaxSharedColumnsBeforeOverflow" typeName="int" description="Maximum number of shared columns to use before using an overflow table (optional). If not specified, ECDb will create as many shared columns until the table has 63 columns."/>
22
- </ECCustomAttributeClass>
23
-
24
- <ECCustomAttributeClass typeName="DbIndexList" modifier="Sealed" appliesTo="EntityClass, RelationshipClass">
25
- <ECStructArrayProperty propertyName="Indexes" typeName="DbIndex" description="List of indexes on properties of this class. It can be use to improve query performance or to add unique constraint." minOccurs="1" maxOccurs="unbounded"/>
26
- </ECCustomAttributeClass>
27
-
28
- <ECStructClass typeName="DbIndex" description="Specify a database index for an ECClass." modifier="Sealed">
29
- <ECProperty propertyName="Name" typeName="string" description="Name of the index. Must follow EC identifier rules. It needs to be globally unique in the database."/>
30
- <ECProperty propertyName="IsUnique" typeName="boolean" description="Default: false. If true, all values in the indexed properties must be unique."/>
31
- <ECArrayProperty propertyName="Properties" typeName="string" description="List of properties that make up the index. Only properties of primitive type are supported." minOccurs="1" maxOccurs="unbounded"/>
32
- <ECProperty propertyName="Where" typeName="string" description="Where constraint for index"/>
33
- </ECStructClass>
34
-
35
- <ECCustomAttributeClass typeName="PropertyMap" modifier="Sealed" appliesTo="PrimitiveProperty">
36
- <ECProperty propertyName="ColumnName" typeName="string" description="If not specified, the ECProperty name is used. It must follow EC Identifier specification."/>
37
- <ECProperty propertyName="IsNullable" typeName="boolean" description="If false, values must not be unset for this property."/>
38
- <ECProperty propertyName="IsUnique" typeName="boolean" description="Only allow unique values for this property."/>
39
- <ECProperty propertyName="Collation" typeName="string" description="Specifies how string comparisons should work for this property. Possible values: Binary (default): bit to bit matching. NoCase: The same as binary, except that the 26 upper case characters of ASCII are folded to their lower case equivalents before comparing. Note that it only folds ASCII characters. RTrim: The same as binary, except that trailing space characters are ignored."/>
40
- </ECCustomAttributeClass>
41
-
42
- <ECCustomAttributeClass typeName="ForeignKeyConstraint" modifier="Sealed" appliesTo="NavigationProperty" description="Creates a foreign key for this navigation property.">
43
- <ECProperty propertyName="OnDeleteAction" typeName="string" description="Possible values: NoAction (default), Cascade (which deletes child rows when parent row is deleted), SetNull(foreign key property in child is set to NULL), Restrict (cannot delete parent if it still has children)."/>
44
- <ECProperty propertyName="OnUpdateAction" typeName="string" description="Possible values: NoAction (default), Cascade (which updates child foreign key when parent primary key is updated)."/>
45
- </ECCustomAttributeClass>
46
-
47
- <ECCustomAttributeClass typeName="LinkTableRelationshipMap" modifier="Sealed" appliesTo="RelationshipClass">
48
- <ECProperty propertyName="SourceECInstanceIdColumn" typeName="string" description="Optional. If not set, a default column name will be used"/>
49
- <ECProperty propertyName="TargetECInstanceIdColumn" typeName="string" description="Optional. If not set, a default column name will be used"/>
50
- <ECProperty propertyName="CreateForeignKeyConstraints" typeName="boolean" description="Default: true. If set to false, no foreign key constraints are created on the link table. In that case, deleting instance does not delete its relationships in the link table."/>
51
- <ECProperty propertyName="AllowDuplicateRelationships" typeName="boolean" description="Default: false. If set to true duplicate relationships are allowed."/>
52
- </ECCustomAttributeClass>
53
-
54
- <ECCustomAttributeClass typeName="ImportRequiresVersion" modifier="Sealed" appliesTo="Schema" description="Causes a schema to only be imported by a specific ECDb version or higher.">
55
- <ECProperty propertyName="ECDbRuntimeVersion" typeName="string" description="Required. ECDb profile version number e.g. 4.0.0.3. Refers to the runtime version, not the file version." />
56
- </ECCustomAttributeClass>
57
-
58
- <ECCustomAttributeClass typeName="UseRequiresVersion" modifier="Sealed" appliesTo="AnyClass" description="Causes ECDb to refuse to query a class which has this CA or a CA that has this CA if conditions are not met.">
59
- <ECProperty propertyName="ECDbRuntimeVersion" typeName="string" description="Optional. ECDb profile version number e.g. 4.0.0.3. Refers to the runtime version, not the file version." />
60
- <ECProperty propertyName="ECSqlVersion" typeName="string" description="Optional. EC SQL profile version number e.g. 1.2.0.0." />
61
- </ECCustomAttributeClass>
62
- </ECSchema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- =====================================================================================
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the repository root for full copyright notice.
5
+ ========================================================================================== -->
6
+ <ECSchema schemaName="ECDbMap" alias="ecdbmap" version="02.00.04" description="Custom attributes that customize ECDb's ECSchema to database mapping." displayLabel="ECDb DB Mapping" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2">
7
+ <ECCustomAttributeClass typeName="SchemaMap" modifier="Sealed" appliesTo="Schema">
8
+ <ECProperty propertyName="TablePrefix" typeName="string" description="Specifies a prefix for generated tables. If not specified, the alias of the ECSchema is used"/>
9
+ </ECCustomAttributeClass>
10
+
11
+ <ECCustomAttributeClass typeName="ClassMap" modifier="Sealed" appliesTo="EntityClass, RelationshipClass">
12
+ <ECProperty propertyName="MapStrategy" typeName="string" description="Defines how the ECClass is mapped to table(s). Values: OwnTable (default), TablePerHierarchy, ExistingTable, NotMapped"/>
13
+ <ECProperty propertyName="TableName" typeName="string" description="If MapStrategy is 'ExistingTable' provide the table name here. Must not be set in all other cases."/>
14
+ <ECProperty propertyName="ECInstanceIdColumn" typeName="string" description="Optionally specify the name of custom 'primary key' column which must be of type Int64."/>
15
+ </ECCustomAttributeClass>
16
+
17
+ <ECCustomAttributeClass typeName="JoinedTablePerDirectSubclass" description="Maps subclasses and their children to a joined table. Can only be applied to classes in a hierarchy using MapStrategy TablePerHierarchy." modifier="Sealed" appliesTo="EntityClass"/>
18
+
19
+ <ECCustomAttributeClass typeName="ShareColumns" description="Allows to share columns amongst ECProperties. Can only be applied to MapStrategy TablePerHierarchy" modifier="Sealed" appliesTo="EntityClass, RelationshipClass">
20
+ <ECProperty propertyName="ApplyToSubclassesOnly" typeName="boolean" description="False (Default):Columns are shared for the properties of the ECClass to which this CA is applied and all its subclasses. True: Columns are not shared for this ECClass but for all of its subclasses."/>
21
+ <ECProperty propertyName="MaxSharedColumnsBeforeOverflow" typeName="int" description="Maximum number of shared columns to use before using an overflow table (optional). If not specified, ECDb will create as many shared columns until the table has 63 columns."/>
22
+ </ECCustomAttributeClass>
23
+
24
+ <ECCustomAttributeClass typeName="DbIndexList" modifier="Sealed" appliesTo="EntityClass, RelationshipClass">
25
+ <ECStructArrayProperty propertyName="Indexes" typeName="DbIndex" description="List of indexes on properties of this class. It can be use to improve query performance or to add unique constraint." minOccurs="1" maxOccurs="unbounded"/>
26
+ </ECCustomAttributeClass>
27
+
28
+ <ECStructClass typeName="DbIndex" description="Specify a database index for an ECClass." modifier="Sealed">
29
+ <ECProperty propertyName="Name" typeName="string" description="Name of the index. Must follow EC identifier rules. It needs to be globally unique in the database."/>
30
+ <ECProperty propertyName="IsUnique" typeName="boolean" description="Default: false. If true, all values in the indexed properties must be unique."/>
31
+ <ECArrayProperty propertyName="Properties" typeName="string" description="List of properties that make up the index. Only properties of primitive type are supported." minOccurs="1" maxOccurs="unbounded"/>
32
+ <ECProperty propertyName="Where" typeName="string" description="Where constraint for index"/>
33
+ </ECStructClass>
34
+
35
+ <ECCustomAttributeClass typeName="PropertyMap" modifier="Sealed" appliesTo="PrimitiveProperty">
36
+ <ECProperty propertyName="ColumnName" typeName="string" description="If not specified, the ECProperty name is used. It must follow EC Identifier specification."/>
37
+ <ECProperty propertyName="IsNullable" typeName="boolean" description="If false, values must not be unset for this property."/>
38
+ <ECProperty propertyName="IsUnique" typeName="boolean" description="Only allow unique values for this property."/>
39
+ <ECProperty propertyName="Collation" typeName="string" description="Specifies how string comparisons should work for this property. Possible values: Binary (default): bit to bit matching. NoCase: The same as binary, except that the 26 upper case characters of ASCII are folded to their lower case equivalents before comparing. Note that it only folds ASCII characters. RTrim: The same as binary, except that trailing space characters are ignored."/>
40
+ </ECCustomAttributeClass>
41
+
42
+ <ECCustomAttributeClass typeName="ForeignKeyConstraint" modifier="Sealed" appliesTo="NavigationProperty" description="Creates a foreign key for this navigation property.">
43
+ <ECProperty propertyName="OnDeleteAction" typeName="string" description="Possible values: NoAction (default), Cascade (which deletes child rows when parent row is deleted), SetNull(foreign key property in child is set to NULL), Restrict (cannot delete parent if it still has children)."/>
44
+ <ECProperty propertyName="OnUpdateAction" typeName="string" description="Possible values: NoAction (default), Cascade (which updates child foreign key when parent primary key is updated)."/>
45
+ </ECCustomAttributeClass>
46
+
47
+ <ECCustomAttributeClass typeName="LinkTableRelationshipMap" modifier="Sealed" appliesTo="RelationshipClass">
48
+ <ECProperty propertyName="SourceECInstanceIdColumn" typeName="string" description="Optional. If not set, a default column name will be used"/>
49
+ <ECProperty propertyName="TargetECInstanceIdColumn" typeName="string" description="Optional. If not set, a default column name will be used"/>
50
+ <ECProperty propertyName="CreateForeignKeyConstraints" typeName="boolean" description="Default: true. If set to false, no foreign key constraints are created on the link table. In that case, deleting instance does not delete its relationships in the link table."/>
51
+ <ECProperty propertyName="AllowDuplicateRelationships" typeName="boolean" description="Default: false. If set to true duplicate relationships are allowed."/>
52
+ </ECCustomAttributeClass>
53
+
54
+ <ECCustomAttributeClass typeName="ImportRequiresVersion" modifier="Sealed" appliesTo="Schema" description="Causes a schema to only be imported by a specific ECDb version or higher.">
55
+ <ECProperty propertyName="ECDbRuntimeVersion" typeName="string" description="Required. ECDb profile version number e.g. 4.0.0.3. Refers to the runtime version, not the file version." />
56
+ </ECCustomAttributeClass>
57
+
58
+ <ECCustomAttributeClass typeName="UseRequiresVersion" modifier="Sealed" appliesTo="AnyClass" description="Causes ECDb to refuse to query a class which has this CA or a CA that has this CA if conditions are not met.">
59
+ <ECProperty propertyName="ECDbRuntimeVersion" typeName="string" description="Optional. ECDb profile version number e.g. 4.0.0.3. Refers to the runtime version, not the file version." />
60
+ <ECProperty propertyName="ECSqlVersion" typeName="string" description="Optional. EC SQL profile version number e.g. 1.2.0.0." />
61
+ </ECCustomAttributeClass>
62
+
63
+ <ECCustomAttributeClass typeName="QueryView" modifier="Sealed" appliesTo="EntityClass" description="Flags a class as a view based on ECSQL.">
64
+ <ECProperty propertyName="Query" typeName="string" description="ECSql query with only primitive types are allowed"/>
65
+ </ECCustomAttributeClass>
66
+
67
+ <ECCustomAttributeClass typeName="ForeignKeyView" modifier="Sealed" appliesTo="RelationshipClass" description="Flags a relationship to be an automatic view, based on navigation properties on the constraint classes." />
68
+ </ECSchema>