Click or drag to resize

IEntityView2ToEntityCollection Method (Int32)

Copies all entities starting at startIndex in this view to a new entity collection and returns that collection. The returned collection is of the same type as the related collection. Entities aren't copied, just references to the entities.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
IEntityCollection2 ToEntityCollection(
	int startIndex
)

Parameters

startIndex
Type: SystemInt32
The start index for the interval to copy to the entity collection

Return Value

Type: IEntityCollection2
New collection with all entities in this view
See Also