| IRtModelBuilderDeclRelation Method |
Called by Rogue Wave Server to declare the Server relation name.
Namespace: RW.Server.ComponentAssembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax void DeclRelation(
string name,
string targetTypeName,
int kind,
string reverseName,
bool canEdit,
bool isAuto,
bool isMandatory,
bool isExported,
bool isDynamic
)
Sub DeclRelation (
name As String,
targetTypeName As String,
kind As Integer,
reverseName As String,
canEdit As Boolean,
isAuto As Boolean,
isMandatory As Boolean,
isExported As Boolean,
isDynamic As Boolean
)
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.
Remarks See Also