Show / Hide Table of Contents

Interface IStoreWriterAsync

Async write abstraction for Stores.

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

Methods

| Improve this Doc View Source

AddAsync<TEntity>(TEntity)

Add the new entity to the store.

Declaration
Task AddAsync<TEntity>(TEntity entity)
    where TEntity : class, new()
Parameters
Type Name Description
TEntity entity

The entity to add

Returns
Type Description
System.Threading.Tasks.Task

The task wait on to perform the operation.

Type Parameters
Name Description
TEntity

The entity Type

| Improve this Doc View Source

DeleteAsync<TEntity>(TEntity)

Delete the entity from the store.

Declaration
Task DeleteAsync<TEntity>(TEntity entity)
    where TEntity : class, new()
Parameters
Type Name Description
TEntity entity

The entity to delete

Returns
Type Description
System.Threading.Tasks.Task

The task wait on to perform the operation.

Type Parameters
Name Description
TEntity

The entity Type

| Improve this Doc View Source

UpdateAsync<TEntity>(TEntity)

Update the entity in the store.

Declaration
Task UpdateAsync<TEntity>(TEntity entity)
    where TEntity : class, new()
Parameters
Type Name Description
TEntity entity

The entity to update

Returns
Type Description
System.Threading.Tasks.Task

The task wait on to perform the operation.

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