Method GetEntityCollectionAsync
GetEntityCollectionAsync(EntityType, CancellationToken)
Returns a model entity collection according to the given entity type
Declaration
Task<IEntityCollection> GetEntityCollectionAsync(EntityType entityType, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityType | entityType | The entity type to get a collection of |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IEntityCollection> | A model entity collection |