Click or drag to resize

IUserSessionGetEntitiesT, TManager Method


Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
IEnumerable<T> GetEntities<T, TManager>(
	string[] ids,
	TManager manager
)
where T : new(), Entity<TManager>
where TManager : ITransactionalEntity

Parameters

ids
Type: SystemString
Unique IDs of the entities to retrieve
manager
Type: TManager
The manager that retrieves the entities

Type Parameters

T
Type of the entity to retrieve, Must be non-abstract type that implements the IEntityTManager interface.
TManager
The entity's manager type, which must implement ITransactionalEntity.

Return Value

Type: IEnumerableT
Returns collection of objects in the order of the provided IDs. Skips non-existing entities and entities that don't match the given entity/manager type.
See Also