Struct SqlPropertyChange<T>
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
NewValue
New value to set.
public T NewValue { get; }
Property Value
- T
State
Custom state.
public object? State { get; }
Property Value
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
TNew value to set.
Returns
- SqlPropertyChange<T>
New SqlPropertyChange<T> instance.