Table of Contents

Class ModelFingerprint

Namespace
The.Model.Snapshot
Assembly
Instagile.Model.dll

Computes a stable fingerprint of a model snapshot's schema-relevant state: two snapshots share a fingerprint exactly when they describe the same database schema, regardless of the event history that produced them. Display-only state (captions, display settings, diagram numbers, sections, sort orders, comments, tags) does not participate, so UI-only edits keep the fingerprint stable.

public static class ModelFingerprint
Inheritance
ModelFingerprint
Inherited Members

Fields

AlgorithmPrefix

Identifies the fingerprint algorithm. Fingerprints with different prefixes are incomparable; consumers treat a stored fingerprint from another algorithm as absent.

public const string AlgorithmPrefix = "1:"

Field Value

string

Methods

SchemaFingerprint(ModelSnapshot)

public static string SchemaFingerprint(this ModelSnapshot snapshot)

Parameters

snapshot ModelSnapshot

Returns

string