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

Class MongoDbDataOptions

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

Namespace: Cephalon.Data.MongoDB.Configuration
Assembly: Cephalon.Data.MongoDB.dll

Configuration options for the MongoDB data provider (Engine:Data:MongoDB).

public sealed class MongoDbDataOptions

objectMongoDbDataOptions

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

Gets the default MongoDB connection string used when neither connection setting is supplied.

public const string DefaultConnectionString = "mongodb://localhost:27017"

string

Gets the canonical provider identifier emitted by the pack.

public const string ProviderId = "mongodb"

string

Gets the configuration section path used by default for MongoDB data settings.

public const string SectionPath = "Engine:Data:MongoDB"

string

Gets the provider-native MongoDB change-stream captures that should be contributed to the active CDC runtime.

public IList<MongoDbChangeStreamCaptureOptions> ChangeStreamCaptures { get; }

IList<MongoDbChangeStreamCaptureOptions>

Gets or sets an optional prefix for all Cephalon-managed collections (e.g. “app_”).

public string CollectionPrefix { get; set; }

string

Gets or sets the inline MongoDB connection string.

public string? ConnectionString { get; set; }

string?

Use either or .

Gets or sets the root ConnectionStrings entry name to resolve for MongoDB.

public string? ConnectionStringName { get; set; }

string?

Use either or .

Gets or sets the target database name.

public string DatabaseName { get; set; }

string

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

public bool RegisterInbox { get; set; }

bool

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

public bool RegisterOutbox { get; set; }

bool