C# Class Source.DLaB.Xrm.RetrieveAllEntities

Exibir arquivo Open project: daryllabar/XrmUnitTest.Example

Private Properties

Property Type Description
GetAllEntitiesInstance IEnumerable
GetEntitiesWithCookie EntitiesWithCookie
UpdatePageCount void

Public Methods

Method Description
GetAllEntities ( IOrganizationService service, QueryExpression qe, int? maxCount = null, int? pageSize = null, bool async = false ) : IEnumerable

Gets all entities.

Private Methods

Method Description
GetAllEntitiesInstance ( IOrganizationService service, QueryExpression qe, int? maxCount, int? pageSize, bool async ) : IEnumerable
GetEntitiesWithCookie ( IOrganizationService service, QueryExpression qe ) : EntitiesWithCookie
UpdatePageCount ( PagingInfo page, int &count, int? maxCount ) : void

Method Details

GetAllEntities() public static method

Gets all entities.
public static GetAllEntities ( IOrganizationService service, QueryExpression qe, int? maxCount = null, int? pageSize = null, bool async = false ) : IEnumerable
service IOrganizationService The service.
qe QueryExpression The qe.
maxCount int? The maximum count.
pageSize int? Size of the page.
async bool if set to true the Service will retrieve the next batch asynchrounsly after starting to return the first batch. This means that any looping that is performed with this call, can not use the same organization service or else there will be a multi-threading issue.
return IEnumerable