Class PropertyMigrationConfig

Assembly: redb.Core.Pro.dll

Migration configuration for single property

public class PropertyMigrationConfig

Inheritance

ObjectPropertyMigrationConfig

Properties

ComputedExpression

public LambdaExpression? ComputedExpression { get; set; }

DefaultValue

public object? DefaultValue { get; set; }

FromType

public Type? FromType { get; set; }

IsRemovedProperty

public bool IsRemovedProperty { get; set; }

PropertyName

public string PropertyName { get; set; }

PropertyType

public Type PropertyType { get; set; }

ToType

public Type? ToType { get; set; }

TransformExpression

public LambdaExpression? TransformExpression { get; set; }

Type

public MigrationType Type { get; set; }

TypeChangeConverter

public LambdaExpression? TypeChangeConverter { get; set; }

WhenCondition

public LambdaExpression? WhenCondition { get; set; }

Methods

ComputeHash()

Compute Expression hash for change detection

public string ComputeHash()