Skip to content

Conversation

alex-kulakov
Copy link
Contributor

Add special wrapper for queries that are not IAsyncEnumerable natively, such as EntitySets. The wrapper allows to apply .ToArrayAsync/ToListAsync/ToHashSetAsync extension methods to EntitySets. Correct implementation of IAsyncEnumerable would take a lot of resources because many APIs should support async operations, this approach less painful, though has a caviar - in ClientProfile mode results does not contain local changes.

- added EntitySet as valid case of source to all ToXxxAsync extension tests
- applied current formatting rules
Such as EntitySets. The wrapper allows to apply .ToArrayAsync/ToListAsync/ToHashSetAsync
extension methods to EntitySets. Correct implementation of IAsyncEnumerable would
take a lot of resources because many apis should support async operation, this
approach less painfull, though has a caviar - in ClientProfile mode results
does not contain local changes.
- added remark that methods cause query execution and that results
may not include local changes in some cases.
- similar methods grouped in regions
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

Successfully merging this pull request may close these issues.

1 participant