Class EntityFrameworkDataOptions
Namespace: Cephalon.Data.EntityFramework.Configuration
Assembly: Cephalon.Data.EntityFramework.dll
Describes the host-owned options for the Entity Framework Core data companion pack.
public sealed class EntityFrameworkDataOptionsInheritance
Section titled “Inheritance”object ← EntityFrameworkDataOptions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”EntityFrameworkDataOptions(Type, Type)
Section titled “ EntityFrameworkDataOptions(Type, Type)”Initializes a new instance of the
public EntityFrameworkDataOptions(Type readDbContextType, Type writeDbContextType)Parameters
Section titled “Parameters”readDbContextType Type
The read-side
writeDbContextType Type
The write-side
Fields
Section titled “Fields”ProviderId
Section titled “ ProviderId”Gets the canonical provider identifier emitted by the pack.
public const string ProviderId = "entity-framework"Field Value
Section titled “Field Value”Properties
Section titled “Properties”EnableSfidIdentifiers
Section titled “ EnableSfidIdentifiers”Gets or sets a value indicating whether the pack should enable official Sfid.EntityFramework conventions and key generation.
public bool EnableSfidIdentifiers { get; set; }Property Value
Section titled “Property Value”ReadDbContextType
Section titled “ ReadDbContextType”Gets the read-side
public Type ReadDbContextType { get; }Property Value
Section titled “Property Value”RegisterDbContextCapabilities
Section titled “ RegisterDbContextCapabilities”Gets or sets a value indicating whether the pack should publish read/write
public bool RegisterDbContextCapabilities { get; set; }Property Value
Section titled “Property Value”RegisterInbox
Section titled “ RegisterInbox”Gets or sets a value indicating whether the pack should register the Entity Framework-backed inbox implementation.
public bool RegisterInbox { get; set; }Property Value
Section titled “Property Value”RegisterOutbox
Section titled “ RegisterOutbox”Gets or sets a value indicating whether the pack should register the Entity Framework-backed outbox implementation.
public bool RegisterOutbox { get; set; }Property Value
Section titled “Property Value”RegisterProjections
Section titled “ RegisterProjections”Gets or sets a value indicating whether the pack should register Entity Framework-backed projection infrastructure.
public bool RegisterProjections { get; set; }Property Value
Section titled “Property Value”RegisterProviderCapability
Section titled “ RegisterProviderCapability”Gets or sets a value indicating whether the pack should publish the provider capability.
public bool RegisterProviderCapability { get; set; }Property Value
Section titled “Property Value”UsesEngineDatabaseTopology
Section titled “ UsesEngineDatabaseTopology”Gets or sets a value indicating whether the pack resolves read/write roles from Engine:Databases.
public bool UsesEngineDatabaseTopology { get; set; }Property Value
Section titled “Property Value”UsesReadWriteSplit
Section titled “ UsesReadWriteSplit”Gets a value indicating whether distinct read and write
public bool UsesReadWriteSplit { get; }Property Value
Section titled “Property Value”WriteDbContextType
Section titled “ WriteDbContextType”Gets the write-side
public Type WriteDbContextType { get; }