17.236. Class UpdateDefinition<T>.PropertySet
Namespace: ArmoniK.Core.Common.Storage
Assembly: ArmoniK.Core.Common.dll
Express the update of a property of an object.
[LogAsScalar(false)]
public record UpdateDefinition<T>.PropertySet : IEquatable<UpdateDefinition<T>.PropertySet>
17.236.1. Inheritance
17.236.2. Implements
17.236.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
17.236.4. Properties
17.236.4.1. Property
Property definition
[LogAsScalar(false)]
public required Expression<Func<T, object?>> Property { get; init; }
17.236.4.1.1. Property Value
Expression<Func<T, object?>>
17.236.4.2. Value
New value
public required object? Value { get; init; }
17.236.4.2.1. Property Value
17.236.5. Methods
17.236.5.1. ApplyTo(T)
Set the property from the object x to the specified value
public void ApplyTo(T x)
17.236.5.1.1. Parameters
x T
Object to update
17.236.5.2. Deconstruct(out Expression<Func<T, object?>>, out object?)
Deconstruct a
public void Deconstruct(out Expression<Func<T, object?>> selector, out object? newValue)
17.236.5.2.1. Parameters
selector Expression<Func<T, object?>>
Property definition
newValue object?
New value