Class EntityFrameworkAuditHistoryModelBuilderExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Audit.EntityFramework.Modeling
Assembly: Cephalon.Audit.EntityFramework.dll
Configures the shared Entity Framework Core model slice used by Cephalon durable audit history.
public static class EntityFrameworkAuditHistoryModelBuilderExtensionsInheritance
Section titled “Inheritance”object ← EntityFrameworkAuditHistoryModelBuilderExtensions
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”ConfigureCephalonAuditHistory(ModelBuilder, string, string?)
Section titled “ ConfigureCephalonAuditHistory(ModelBuilder, string, string?)”Adds the Cephalon durable audit-history entity mapping to the supplied model.
public static ModelBuilder ConfigureCephalonAuditHistory(this ModelBuilder modelBuilder, string tableName = "cephalon_audit_history", string? schema = null)Parameters
Section titled “Parameters”modelBuilder ModelBuilder
The model builder to extend.
tableName string
The table name that should hold durable audit-history rows.
schema string?
The optional schema that should own the durable audit-history table.
Returns
Section titled “Returns”The same model builder for fluent configuration.