Skip to content

Class EntityFrameworkAuditHistoryOptions

Namespace: Cephalon.Audit.EntityFramework.Configuration
Assembly: Cephalon.Audit.EntityFramework.dll

Describes host-owned options for the Entity Framework durable audit-history provider.

public sealed class EntityFrameworkAuditHistoryOptions

objectEntityFrameworkAuditHistoryOptions

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

Initializes a new instance of the class.

public EntityFrameworkAuditHistoryOptions(Type dbContextType)

dbContextType Type

The type that persists durable audit-history rows.

Gets the canonical provider identifier emitted by this pack.

public const string ProviderId = "entity-framework"

string

Gets the type that persists durable audit-history rows.

public Type DbContextType { get; }

Type

Gets or sets a value indicating whether this pack resolves its database role from Engine:Databases.

public bool UsesEngineDatabaseTopology { get; set; }

bool