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.8.0.0 (5.8.21.0111)
Syntax public virtual EntityCollectionBase2<TEntity> ToEntityCollection(
int startIndex
)
Public Overridable Function ToEntityCollection (
startIndex As Integer
) As EntityCollectionBase2(Of TEntity)
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