Rogue Wave Server Component library for .NET Reference Guide
|
|
IRtModelBuilderDeclRelation Method |
Called by Rogue Wave Server to declare the Server relation name.
Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 7.0.0.0 (7.0.0.0)
void DeclRelation( string name, string targetTypeName, int kind, string reverseName, bool canEdit, bool isAuto, bool isMandatory, bool isExported, bool isDynamic )
Parameters
- name
- Type: SystemString
The name of the relation. - targetTypeName
- Type: SystemString
The name of the relation target type. - kind
- Type: SystemInt32
The kind of the relation. - reverseName
- Type: SystemString
The name of the direct relation in case of an inverted relation or the name of the inverted relation in case of a direct relation. - canEdit
- Type: SystemBoolean
Set to true if the relation is editable. - isAuto
- Type: SystemBoolean
Set to true if the relation has been implicitly declared in the Server model interpreter. - isMandatory
- Type: SystemBoolean
true if the relation is mandatory. - isExported
- Type: SystemBoolean
Set to true if the relation has been declared exported. - isDynamic
- Type: SystemBoolean
Set to true if the relation has been declared dynamic.
This relation is owned by the object type that was
declared last (see the function
DeclClass(String, Boolean, Boolean)).