Table of Contents

Class SqlPropertyChange

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

Creates instances of SqlPropertyChange<T> type.

public static class SqlPropertyChange
Inheritance
SqlPropertyChange
Inherited Members

Methods

Cancel<T>()

Creates a new SqlPropertyChange<T> instance marked as cancelled.

[Pure]
public static SqlPropertyChange<T> Cancel<T>()

Returns

SqlPropertyChange<T>

New SqlPropertyChange<T> instance.

Type Parameters

T

Value type.

Create<T>(T, object?)

Creates a new SqlPropertyChange<T> instance.

[Pure]
public static SqlPropertyChange<T> Create<T>(T newValue, object? state = null)

Parameters

newValue T

New value to set.

state object

Optional custom state. Equal to null by default.

Returns

SqlPropertyChange<T>

New SqlPropertyChange<T> instance.

Type Parameters

T

Value type.