Class SchemaDowngradeException
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
componentNamestringName of the component with the newer persisted revision.
persistedRevisionintSchema revision found in the database.
runtimeRevisionintSchema 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
PersistedRevision
Schema revision found in the database (the newer one).
public int PersistedRevision { get; }
Property Value
RuntimeRevision
Schema revision the running binary supports (the older one).
public int RuntimeRevision { get; }