Interface ITenantMigrationInterceptorExecutionStore
Provides the functionalities to persist tenant migration interceptor execution markers.
public interface ITenantMigrationInterceptorExecutionStore
Remarks
These markers are used by IRunOnceTenantDatabaseMigrationInterceptor implementations to avoid re-running one-shot migration logic for a tenant.
Methods
HasBeenExecuted(string)
Returns a value indicating whether the specified execution marker has already been persisted.
bool HasBeenExecuted(string objectName)
Parameters
objectNamestringExecution marker name.
Returns
- bool
trueif the marker exists; otherwise,false.
MarkAsExecuted(string)
Persists the specified execution marker.
void MarkAsExecuted(string objectName)
Parameters
objectNamestringExecution marker name.