Assign data procedure delegates to a relations object constructed by this manager. This method is exposed, so concrete classes can override its behaviors

Namespace: Cartella.Interfaces
Assembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
void AssignRelationsDelegates<TOwner, TTarget, TRelations>(
	TRelations newRelations,
	Type targetType
)
where TOwner : ICartellaObject
where TTarget : IBaseObject
where TRelations : Object, ICartellaRelations<TOwner, TTarget>
Visual Basic
Sub AssignRelationsDelegates(Of TOwner As ICartellaObject, TTarget As IBaseObject, TRelations As {Object, ICartellaRelations(Of TOwner, TTarget)}) ( _
	newRelations As TRelations, _
	targetType As Type _
)
Visual C++
generic<typename TOwner, typename TTarget, typename TRelations>
where TOwner : ICartellaObject
where TTarget : IBaseObject
where TRelations : Object, ICartellaRelations<TOwner, TTarget>
void AssignRelationsDelegates(
	TRelations newRelations, 
	Type^ targetType
)

Parameters

newRelations
Type: TRelations
Relations object
targetType
Type: System..::..Type
Class Type of targets for the relations

Type Parameters

TOwner
Owner Type, must be derived from ICartellaObject interface,
TTarget
Target Type, must be derived form IBaseOjbect interface.
TRelations
Relation Type, derived from ICartellaRelations<TOwner, TTarget>

Field Value

Void

See Also