Show / Hide Table of Contents

Interface IStoreBatchWriterAsync

Asynchronous batch write abstraction for Stores.

Inherited Members
IStoreWriterAsync.AddAsync<TEntity>(TEntity)
IStoreWriterAsync.UpdateAsync<TEntity>(TEntity)
IStoreWriterAsync.DeleteAsync<TEntity>(TEntity)
IStoreWriter.Add<TEntity>(TEntity)
IStoreWriter.Update<TEntity>(TEntity)
IStoreWriter.Delete<TEntity>(TEntity)
Namespace: Ease.Repository
Assembly: Ease.Repository.dll
Syntax
public interface IStoreBatchWriterAsync : IStoreWriterAsync, IStoreWriter

Methods

| Improve this Doc View Source

AddAsync<TEntity>(IEnumerable<TEntity>)

Add the new entities to the store.

Declaration
Task AddAsync<TEntity>(IEnumerable<TEntity> entities)
    where TEntity : class, new()
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<TEntity> entities

The entities to add

Returns
Type Description
System.Threading.Tasks.Task
Type Parameters
Name Description
TEntity

The entity Type

| Improve this Doc View Source

DeleteAsync<TEntity>(IEnumerable<TEntity>)

Delete the entities from the store.

Declaration
Task DeleteAsync<TEntity>(IEnumerable<TEntity> entities)
    where TEntity : class, new()
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<TEntity> entities

The entities to delete

Returns
Type Description
System.Threading.Tasks.Task
Type Parameters
Name Description
TEntity

The entity Type

| Improve this Doc View Source

UpdateAsync<TEntity>(IEnumerable<TEntity>)

Update the entities in the store.

Declaration
Task UpdateAsync<TEntity>(IEnumerable<TEntity> entities)
    where TEntity : class, new()
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<TEntity> entities

The entities to update

Returns
Type Description
System.Threading.Tasks.Task
Type Parameters
Name Description
TEntity

Tye entity Type

Extension Methods

ChangeTrackingExtensions.CurrentState<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX