Table of Contents

Class SchemaDowngradeException

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Thrown when the database contains component data written by a newer application version. The persisted schema revision is higher than the runtime revision — a downgrade is not supported. The engine must not open the database to prevent data corruption.

public class SchemaDowngradeException : TyphonException, ISerializable
Inheritance
SchemaDowngradeException
Implements
Inherited Members

Constructors

SchemaDowngradeException(string, int, int)

Creates a new SchemaDowngradeException for a component whose persisted revision exceeds the runtime revision.

public SchemaDowngradeException(string componentName, int persistedRevision, int runtimeRevision)

Parameters

componentName string

Name of the component with the newer persisted revision.

persistedRevision int

Schema revision found in the database.

runtimeRevision int

Schema revision the running binary supports.

Properties

ComponentName

Name of the component whose persisted revision is newer than the runtime.

public string ComponentName { get; }

Property Value

string

PersistedRevision

Schema revision found in the database (the newer one).

public int PersistedRevision { get; }

Property Value

int

RuntimeRevision

Schema revision the running binary supports (the older one).

public int RuntimeRevision { get; }

Property Value

int