26.238. 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>

26.238.1. Inheritance

objectUpdateDefinition<T>.PropertySet

26.238.2. Implements

IEquatable<UpdateDefinition<T>.PropertySet>

26.238.3. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

26.238.4. Properties

26.238.4.1. Property

Property definition

[LogAsScalar(false)]
public required Expression<Func<T, object?>> Property { get; init; }

26.238.4.1.1. Property Value

Expression<Func<T, object?>>

26.238.4.2. Value

New value

public required object? Value { get; init; }

26.238.4.2.1. Property Value

object?

26.238.5. Methods

26.238.5.1. ApplyTo(T)

Set the property from the object x to the specified value

public void ApplyTo(T x)

26.238.5.1.1. Parameters

x T

Object to update

26.238.5.2. Deconstruct(out Expression<Func<T, object?>>, out object?)

Deconstruct a in its components

public void Deconstruct(out Expression<Func<T, object?>> selector, out object? newValue)

26.238.5.2.1. Parameters

selector Expression<Func<T, object?>>

Property definition

newValue object?

New value