C# Class Source.DLaB.Xrm.RetrieveAllEntities

Afficher le fichier Open project: daryllabar/XrmUnitTest.Example

Private Properties

Свойство Type Description
GetAllEntitiesInstance IEnumerable
GetEntitiesWithCookie EntitiesWithCookie
UpdatePageCount void

Méthodes publiques

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

Gets all entities.

Private Methods

Méthode 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 méthode

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.
Résultat IEnumerable