Click or drag to resize

MvComponentDeclRelation Method

Empty implementation of IRtModelBuilder.

Namespace:  RW.Server.Component
Assembly:  RW.Server.Component (in RW.Server.Component.dll) Version: 6.5.0.0 (6.5.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
)

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