Click or drag to resize

EntityView2TEntityToEntityCollection 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.7.0.0 (5.7.0)
Syntax
public virtual EntityCollectionBase2<TEntity> ToEntityCollection(
	int startIndex
)

Parameters

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

Return Value

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