Table of Contents

Class RelationshipSnapshot

Namespace
The.Model.Snapshot
Assembly
Instagile.Model.dll
public sealed class RelationshipSnapshot : ICompareForDiff
Inheritance
RelationshipSnapshot
Implements
Inherited Members

Fields

CopiedAttributes

public readonly IReadOnlyList<CopySnapshot> CopiedAttributes

Field Value

IReadOnlyList<CopySnapshot>

ForeignKeys

public readonly IReadOnlyList<CopySnapshot> ForeignKeys

Field Value

IReadOnlyList<CopySnapshot>

Properties

CreationOrder

public int CreationOrder { get; }

Property Value

int

ID

public Guid ID { get; }

Property Value

Guid

IsLegacy

public bool IsLegacy { get; }

Property Value

bool

IsTransient

public bool IsTransient { get; }

Property Value

bool

SideA

public KeySnapshot SideA { get; }

Property Value

KeySnapshot

SideB

public KeySnapshot SideB { get; }

Property Value

KeySnapshot

Methods

Diff(RelationshipSnapshot)

public string Diff(RelationshipSnapshot that)

Parameters

that RelationshipSnapshot

Returns

string

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(object?, bool)

public bool Equals(object? obj, bool ignoreCopies)

Parameters

obj object
ignoreCopies bool

Returns

bool

GetAllTags()

public IEnumerable<KeyValuePair<string, string>> GetAllTags()

Returns

IEnumerable<KeyValuePair<string, string>>

GetHashCode()

public override int GetHashCode()

Returns

int

GetTag(string)

public Optional<string> GetTag(string key)

Parameters

key string

Returns

Optional<string>

ToEvents()

public IEnumerable<IEvent> ToEvents()

Returns

IEnumerable<IEvent>

ToString()

public override string ToString()

Returns

string