Show / Hide Table of Contents

Interface IStoreWriter

Synchronous write abstraction for Stores.

Namespace: Ease.Repository
Assembly: Ease.Repository.dll
Syntax
public interface IStoreWriter

Methods

| Improve this Doc View Source

Add<TEntity>(TEntity)

Add the new entity to the store.

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

The entity to add

Type Parameters
Name Description
TEntity

The entity Type

| Improve this Doc View Source

Delete<TEntity>(TEntity)

Delete the entity from the store.

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

The entity to delete

Type Parameters
Name Description
TEntity

The entity Type

| Improve this Doc View Source

Update<TEntity>(TEntity)

Update the entity in the store.

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

The entity 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