Class MigrationGenerationsMustShareEventTypeId
- Namespace
- Cratis.Chronicle.Events.Migrations
- Assembly
- Cratis.Chronicle.dll
The exception that is thrown when the two generations referenced by an EventTypeMigration<TUpgrade, TPrevious> resolve to different event type ids.
public class MigrationGenerationsMustShareEventTypeId : Exception, ISerializable
- Inheritance
-
MigrationGenerationsMustShareEventTypeId
- Implements
- Inherited Members
- Extension Methods
Constructors
MigrationGenerationsMustShareEventTypeId(Type, Type, EventTypeId, EventTypeId)
The exception that is thrown when the two generations referenced by an EventTypeMigration<TUpgrade, TPrevious> resolve to different event type ids.
public MigrationGenerationsMustShareEventTypeId(Type previousType, Type upgradeType, EventTypeId previousId, EventTypeId upgradeId)
Parameters
previousTypeTypeThe previous (older generation) CLR type.
upgradeTypeTypeThe upgrade (newer generation) CLR type.
previousIdEventTypeIdThe event type id the previous type resolved to.
upgradeIdEventTypeIdThe event type id the upgrade type resolved to.