ข้ามไปยังเนื้อหา

Class EntityFrameworkEventSourcingEngineBuilderExtensions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.EventSourcing.EntityFramework.Registration
Assembly: Cephalon.EventSourcing.EntityFramework.dll

Registers the Entity Framework event-store provider with an .

public static class EntityFrameworkEventSourcingEngineBuilderExtensions

objectEntityFrameworkEventSourcingEngineBuilderExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

AddEntityFrameworkEventSourcing<TContext>(EngineBuilder)

Section titled “ AddEntityFrameworkEventSourcing<TContext>(EngineBuilder)”

Adds the Entity Framework event-store provider to the engine.

public static EngineBuilder AddEntityFrameworkEventSourcing<TContext>(this EngineBuilder builder) where TContext : DbContext, IEntityFrameworkEventContext

builder EngineBuilder

The engine builder to extend.

EngineBuilder

The same engine builder for fluent composition.

TContext

The DbContext type that persists event rows.