Retrieves all roles.

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

Syntax

C#
public virtual EntityCollection<AspnetRolesEntity> GetRoles(
	Guid applicationId,
	RelationPredicateBucket filter,
	ISortExpression sorter,
	IPrefetchPath2 prefetchPath,
	int pageNumber,
	int pageSize,
	out int recordCount
)
Visual Basic
Public Overridable Function GetRoles ( 
	applicationId As Guid,
	filter As RelationPredicateBucket,
	sorter As ISortExpression,
	prefetchPath As IPrefetchPath2,
	pageNumber As Integer,
	pageSize As Integer,
	<OutAttribute> ByRef recordCount As Integer
) As EntityCollection(Of AspnetRolesEntity)
Visual C++
public:
virtual EntityCollection<AspnetRolesEntity^>^ GetRoles(
	Guid applicationId, 
	RelationPredicateBucket^ filter, 
	ISortExpression^ sorter, 
	IPrefetchPath2^ prefetchPath, 
	int pageNumber, 
	int pageSize, 
	[OutAttribute] int% recordCount
)
F#
abstract GetRoles : 
        applicationId : Guid * 
        filter : RelationPredicateBucket * 
        sorter : ISortExpression * 
        prefetchPath : IPrefetchPath2 * 
        pageNumber : int * 
        pageSize : int * 
        recordCount : int byref -> EntityCollection<AspnetRolesEntity> 
override GetRoles : 
        applicationId : Guid * 
        filter : RelationPredicateBucket * 
        sorter : ISortExpression * 
        prefetchPath : IPrefetchPath2 * 
        pageNumber : int * 
        pageSize : int * 
        recordCount : int byref -> EntityCollection<AspnetRolesEntity> 

Parameters

applicationId
Type: System..::..Guid
Application Id
filter
Type: RelationPredicateBucket
Custom filter
sorter
Type: ISortExpression
Custom sorter
prefetchPath
Type: IPrefetchPath2
Prefetch path
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 <(<'AspnetRolesEntity>)>)>
Entity collection with all entities that satisfy the search condition

Implements

IMembershipBLL..::..GetRoles(Guid, RelationPredicateBucket, ISortExpression, IPrefetchPath2, Int32, Int32, Int32%)

See Also