| MvComponentDeclRelation Method |
Namespace:
RW.Server.Component
Assembly:
RW.Server.Component (in RW.Server.Component.dll) Version: 7.2.0.0 (7.2.0.0)
Syntax public virtual void DeclRelation(
string name,
string targetTypeName,
int kind,
string reverseName,
bool canEdit,
bool isAuto,
bool isMandatory,
bool isExported,
bool isDynamic = false
)
Public Overridable 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,
Optional isDynamic As Boolean = false
)
public:
virtual void DeclRelation(
String^ name,
String^ targetTypeName,
int kind,
String^ reverseName,
bool canEdit,
bool isAuto,
bool isMandatory,
bool isExported,
bool isDynamic = false
)
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 (Optional)
- Type: SystemBoolean
Set to true if the relation has been declared
dynamic.
Implements
IRtModelBuilderDeclRelation(String, String, Int32, String, Boolean, Boolean, Boolean, Boolean, Boolean)See Also