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

Class EntityFrameworkModelBuilderExtensions

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

Namespace: Cephalon.Data.EntityFramework.Modeling
Assembly: Cephalon.Data.EntityFramework.dll

Configures shared Cephalon Entity Framework Core model slices.

public static class EntityFrameworkModelBuilderExtensions

objectEntityFrameworkModelBuilderExtensions

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

ConfigureCephalonInbox(ModelBuilder, string)

Section titled “ ConfigureCephalonInbox(ModelBuilder, string)”

Adds the Cephalon inbox entity mapping to the supplied model.

public static ModelBuilder ConfigureCephalonInbox(this ModelBuilder modelBuilder, string tableName = "cephalon_inbox_messages")

modelBuilder ModelBuilder

The model builder to extend.

tableName string

The table name that should hold processed inbox rows.

ModelBuilder

The same model builder for fluent configuration.

ConfigureCephalonOutbox(ModelBuilder, string)

Section titled “ ConfigureCephalonOutbox(ModelBuilder, string)”

Adds the Cephalon outbox entity mapping to the supplied model.

public static ModelBuilder ConfigureCephalonOutbox(this ModelBuilder modelBuilder, string tableName = "cephalon_outbox_messages")

modelBuilder ModelBuilder

The model builder to extend.

tableName string

The table name that should hold durable outbox rows.

ModelBuilder

The same model builder for fluent configuration.