[This is preliminary documentation and is subject to change.]

Initializes a new instance of the Relation class.

Namespace:  Firefly.Box
Assembly:  Firefly.Box (in Firefly.Box.dll) Version: 3.4.23.6473 (3.4.23.6473)

Syntax

C#
public Relation(
	Entity entity,
	RelationType type
)
Visual Basic (Declaration)
Public Sub New ( _
	entity As Entity, _
	type As RelationType _
)
Visual C++
public:
Relation(
	Entity^ entity, 
	RelationType type
)

Parameters

entity
Type: Firefly.Box.Data..::.Entity
The entity based on which this Relation will be created
type
Type: Firefly.Box..::.RelationType
The type based on which this Relation will be created

See Also