Retrieves all polls.

Namespace: MonoSoftware.MonoX.Repositories
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public virtual EntityCollection<PollEntity> GetPollCollection(
	bool fullPrefetchPath,
	ISortExpression sorter,
	int pageNumber,
	int pageSize,
	out int recordCount
)
Visual Basic
Public Overridable Function GetPollCollection ( 
	fullPrefetchPath As Boolean,
	sorter As ISortExpression,
	pageNumber As Integer,
	pageSize As Integer,
	<OutAttribute> ByRef recordCount As Integer
) As EntityCollection(Of PollEntity)
Visual C++
public:
virtual EntityCollection<PollEntity^>^ GetPollCollection(
	bool fullPrefetchPath, 
	ISortExpression^ sorter, 
	int pageNumber, 
	int pageSize, 
	[OutAttribute] int% recordCount
)
F#
abstract GetPollCollection : 
        fullPrefetchPath : bool * 
        sorter : ISortExpression * 
        pageNumber : int * 
        pageSize : int * 
        recordCount : int byref -> EntityCollection<PollEntity> 
override GetPollCollection : 
        fullPrefetchPath : bool * 
        sorter : ISortExpression * 
        pageNumber : int * 
        pageSize : int * 
        recordCount : int byref -> EntityCollection<PollEntity> 

Parameters

fullPrefetchPath
Type: System..::..Boolean
Enable full prefetch path
sorter
Type: ISortExpression
Sort expression
pageNumber
Type: System..::..Int32
Page number
pageSize
Type: System..::..Int32
Page size
recordCount
Type: System..::..Int32%
Number of records retrieved

Return Value

Type: EntityCollection<(Of <(<'PollEntity>)>)>
Entity collection with all entities that satisfy the filter condition

Implements

IPollRepository..::..GetPollCollection(Boolean, ISortExpression, Int32, Int32, Int32%)

See Also