Loads Relation data related to an Entity instance.

Namespace: Aspectize.Core
Assembly: AspectizeDAL (in AspectizeDAL.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
List<Relation> GetRelations<Role, EntityType, Relation>(
	IEntity entity
)
where EntityType : new(), Entity, IEntity, IDataWrapper
where Relation : new(), DataWrapper, IDataWrapper, IRelation
Visual Basic
Function GetRelations(Of Role, EntityType As {New, Entity, IEntity, IDataWrapper}, Relation As {New, DataWrapper, IDataWrapper, IRelation}) ( _
	entity As IEntity _
) As List(Of Relation)

Parameters

entity
Type: IEntity
The given stronly typed entity.

Type Parameters

Role
Role close to the given Entity
EntityType
Type of Entity
Relation
Type of Relation

Return Value

[Missing <returns> documentation for "M:Aspectize.Core.IDataManager.GetRelations``3(Aspectize.Core.IEntity)"]

See Also