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