Table of Contents

Class CommandConfig

Namespace
The.Persistence
Assembly
Instagile.dll

Settings affecting write execution.

[MessagePackObject(false)]
public record CommandConfig : IEquatable<CommandConfig>
Inheritance
CommandConfig
Implements
Inherited Members

Constructors

CommandConfig(Tenancy, bool, bool, bool)

Settings affecting write execution.

public CommandConfig(Tenancy Tenancy, bool UseEndpointCalculations, bool UseEndpointHooks, bool ReportWrittenState = false)

Parameters

Tenancy Tenancy

Row-based access controls for the store to apply.

UseEndpointCalculations bool

If true, calculated property evaluation was skipped on the client and should be run on the server.

UseEndpointHooks bool

If true, OnSaved/OnSaving callbacks were skipped on the client and should be run on the server.

ReportWrittenState bool

If true, the store should attach post-write versions and autonums to the WriteResult instead of requiring a separate read.

Properties

ReportWrittenState

If true, the store should attach post-write versions and autonums to the WriteResult instead of requiring a separate read.

[Key(3)]
public bool ReportWrittenState { get; init; }

Property Value

bool

Tenancy

Row-based access controls for the store to apply.

[Key(0)]
public Tenancy Tenancy { get; init; }

Property Value

Tenancy

UseEndpointCalculations

If true, calculated property evaluation was skipped on the client and should be run on the server.

[Key(1)]
public bool UseEndpointCalculations { get; init; }

Property Value

bool

UseEndpointHooks

If true, OnSaved/OnSaving callbacks were skipped on the client and should be run on the server.

[Key(2)]
public bool UseEndpointHooks { get; init; }

Property Value

bool