Table of Contents

Struct MigrationStep

Namespace
KeenEyes.Serialization
Assembly
KeenEyes.Core.dll

Represents a single step in a migration chain.

public readonly record struct MigrationStep : IEquatable<MigrationStep>
Implements
Inherited Members

Constructors

MigrationStep(int, int)

Represents a single step in a migration chain.

public MigrationStep(int FromVersion, int ToVersion)

Parameters

FromVersion int

The source version.

ToVersion int

The target version.

Properties

FromVersion

The source version.

public int FromVersion { get; init; }

Property Value

int

ToVersion

The target version.

public int ToVersion { get; init; }

Property Value

int

Methods

ToString()

Returns a string representation of the migration step.

public override string ToString()

Returns

string