Class EntityFrameworkEventSourcingEngineBuilderExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.EventSourcing.EntityFramework.Registration
Assembly: Cephalon.EventSourcing.EntityFramework.dll
Registers the Entity Framework event-store provider with an
public static class EntityFrameworkEventSourcingEngineBuilderExtensionsInheritance
Section titled “Inheritance”object ← EntityFrameworkEventSourcingEngineBuilderExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”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, IEntityFrameworkEventContextParameters
Section titled “Parameters”builder EngineBuilder
The engine builder to extend.
Returns
Section titled “Returns”The same engine builder for fluent composition.
Type Parameters
Section titled “Type Parameters”TContext
The DbContext type that persists event rows.