Show / Hide Table of Contents

Interface IStoreBatchWriter

Synchronous batch 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 IStoreBatchWriter : IStoreWriter

Methods

| Improve this Doc View Source

Add<TEntity>(IEnumerable<TEntity>)

Add the new entities to the store.

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

The entities to add

Type Parameters
Name Description
TEntity

The entity Type

| Improve this Doc View Source

Delete<TEntity>(IEnumerable<TEntity>)

Delete the entities from the store.

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

The entities to delete

Type Parameters
Name Description
TEntity

The entity Type

| Improve this Doc View Source

Update<TEntity>(IEnumerable<TEntity>)

Update the entities in the store.

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

The entities to update

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