Method CreateEntityAsync
CreateEntityAsync(IEnumerable<EntityParams?>?, CancellationToken)
Creates new entities
Declaration
Task<IEnumerable<IEntity>> CreateEntityAsync(IEnumerable<EntityParams?>? createParams, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<EntityParams> | createParams | The collection of create parameters |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<IEntity>> | A collection of the newly created entities |