Loads an entity of type EntityType specified by its id and continues to load the graph of all related entities following "Container" relations that is relations with a Role marked as a container. Only single value fields are loaded. Multivalue or temporal fields are not loaded. For loading of multivalue or temporal fields please refer to LoadEntityGraphFields or LoadEntitiesGraphFields methods.

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

Syntax

C#
void LoadEntitiesGraph<EntityType>(
	params Object[] ids
)
where EntityType : new(), Entity, IEntity, IDataWrapper
Visual Basic
Sub LoadEntitiesGraph(Of EntityType As {New, Entity, IEntity, IDataWrapper}) ( _
	ParamArray ids As Object() _
)

Parameters

ids
Type: array<System..::..Object>[]()[][]
Specifies the id (simple or multipart) of the given the one entity to begin with. If ids is empty all entities and their related entities are loaded.

Type Parameters

EntityType
Type of Entity to load

Examples

CopyC#
// Load all Entity with no criteria

dm.LoadEntitiesGraph<AdventureWorks.Production.ProductCategory>(3);
CopyVB.NET
' Load all Entity with no criteria


dm.LoadEntitiesGraph(Of AdventureWorks.Production.ProductCategory)(3)

See Also