Click or drag to resize

EntityViewTEntityToEntityCollection 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.6.0.0 (5.6.19.0117)
Syntax
public virtual EntityCollectionBase<TEntity> ToEntityCollection(
	int startIndex
)

Parameters

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

Return Value

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