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.9.0.0 (5.9.0)
Syntaxpublic virtual EntityCollectionBase<TEntity> ToEntityCollection(
	int startIndex
)
Public Overridable Function ToEntityCollection ( 
	startIndex As Integer
) As EntityCollectionBase(Of TEntity)
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