Table of Contents

Struct SqlPropertyChange<T>

Namespace
LfrlAnvil.Sql.Internal
Assembly
LfrlAnvil.Sql.Core.dll

Represents an object that specifies how SqlObjectBuilder property change attempt should be handled.

public readonly struct SqlPropertyChange<T>

Type Parameters

T

Value type.

Inherited Members

Properties

IsCancelled

Specifies whether or not the change should be ignored.

public bool IsCancelled { get; }

Property Value

bool

NewValue

New value to set.

public T NewValue { get; }

Property Value

T

State

Custom state.

public object? State { get; }

Property Value

object

Methods

ToString()

Returns a string representation of this SqlPropertyChange<T> instance.

[Pure]
public override string ToString()

Returns

string

String representation.

Operators

implicit operator SqlPropertyChange<T>(T)

Creates a new SqlPropertyChange<T> instance.

[Pure]
public static implicit operator SqlPropertyChange<T>(T newValue)

Parameters

newValue T

New value to set.

Returns

SqlPropertyChange<T>

New SqlPropertyChange<T> instance.