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

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 EntityFrameworkDataOptions

objectEntityFrameworkDataOptions

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 EntityFrameworkDataOptions(Type readDbContextType, Type writeDbContextType)

readDbContextType Type

The read-side type.

writeDbContextType Type

The write-side type.

Gets the canonical provider identifier emitted by the pack.

public const string ProviderId = "entity-framework"

string

Gets or sets a value indicating whether the pack should enable official Sfid.EntityFramework conventions and key generation.

public bool EnableSfidIdentifiers { get; set; }

bool

Gets the read-side type.

public Type ReadDbContextType { get; }

Type

Gets or sets a value indicating whether the pack should publish read/write role capabilities.

public bool RegisterDbContextCapabilities { get; set; }

bool

Gets or sets a value indicating whether the pack should register the Entity Framework-backed inbox implementation.

public bool RegisterInbox { get; set; }

bool

Gets or sets a value indicating whether the pack should register the Entity Framework-backed outbox implementation.

public bool RegisterOutbox { get; set; }

bool

Gets or sets a value indicating whether the pack should register Entity Framework-backed projection infrastructure.

public bool RegisterProjections { get; set; }

bool

Gets or sets a value indicating whether the pack should publish the provider capability.

public bool RegisterProviderCapability { get; set; }

bool

Gets or sets a value indicating whether the pack resolves read/write roles from Engine:Databases.

public bool UsesEngineDatabaseTopology { get; set; }

bool

Gets a value indicating whether distinct read and write types were selected.

public bool UsesReadWriteSplit { get; }

bool

Gets the write-side type.

public Type WriteDbContextType { get; }

Type