Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async support #14

Open
aa-dit-yuh opened this issue Jan 25, 2024 · 2 comments
Open

Async support #14

aa-dit-yuh opened this issue Jan 25, 2024 · 2 comments

Comments

@aa-dit-yuh
Copy link
Contributor

aa-dit-yuh commented Jan 25, 2024

Support IOrganizationServiceAsync2

var query = new Query<Account>();

List<Account> records = await query.GetAllAsync(iOrganizationServiceAsync2, cancellationToken);
@aa-dit-yuh
Copy link
Contributor Author

Hi @MscrmTools

Async support is defined in the interface IOrganizationServiceAsync2 that is bundled within the Microsoft.PowerPlatform.Dataverse.Client package.
It looks like this package is only imported within the MscrmTools.FluentQueryExpressions.Core project as per a code search:
https://github.com/search?q=repo%3AMscrmTools%2FMscrmTools.FluentQueryExpressions%20Microsoft.PowerPlatform.Dataverse.Client&type=code

Do you suggest adding async support on the Query class as extension methods defined within the MscrmTools.FluentQueryExpressions.Core project? Or is there a better way forward?

@aa-dit-yuh
Copy link
Contributor Author

@MscrmTools Please provide some guidance here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant