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

Class DataSelection

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

Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll

Describes the active data-selection inputs resolved for a Cephalon app.

public sealed class DataSelection

objectDataSelection

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

DataSelection(string?, bool?, bool?, string?)

Section titled “ DataSelection(string?, bool?, bool?, string?)”

Initializes a new instance of the class.

[JsonConstructor]
public DataSelection(string? provider = null, bool? readWriteSplit = null, bool? outboxEnabled = null, string? idGenerator = null)

provider string?

The selected primary data-provider family or implementation identifier.

readWriteSplit bool?

Whether distinct read and write paths were explicitly selected.

outboxEnabled bool?

Whether the outbox pattern was explicitly enabled.

idGenerator string?

The selected identifier-generation strategy.

Gets an empty data-selection instance.

public static DataSelection Empty { get; }

DataSelection

Gets a value indicating whether any data-selection inputs were explicitly supplied.

public bool HasValues { get; }

bool

Gets the selected identifier-generation strategy.

public string? IdGenerator { get; }

string?

Gets a value indicating whether the outbox pattern was explicitly enabled.

public bool? OutboxEnabled { get; }

bool?

Gets the selected primary data-provider family or implementation identifier.

public string? Provider { get; }

string?

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

public bool? ReadWriteSplit { get; }

bool?