Exemple #1
0
 /// <summary>
 /// Intercept the provider when a Stored Procedure is dropping
 /// </summary>
 public static void OnStoredProcedureDropping(this BaseOrchestrator orchestrator, Action <StoredProcedureDroppingArgs> action)
 => orchestrator.SetInterceptor(action);
Exemple #2
0
 /// <summary>
 /// Intercept the provider when a table is dropping
 /// </summary>
 public static void OnTableDropping(this BaseOrchestrator orchestrator, Action <TableDroppingArgs> action)
 => orchestrator.SetInterceptor(action);
Exemple #3
0
 /// <summary>
 /// Intercept the provider action when a database is reading a timestamp
 /// </summary>
 public static void OnLocalTimestampLoading(this BaseOrchestrator orchestrator, Action <LocalTimestampLoadingArgs> action)
 => orchestrator.SetInterceptor(action);
Exemple #4
0
 /// <summary>
 /// Intercept the provider action when a provider is cleaning metadata
 /// </summary>
 public static void OnMetadataCleaning(this BaseOrchestrator orchestrator, Action <MetadataCleaningArgs> action)
 => orchestrator.SetInterceptor(action);
Exemple #5
0
 /// <summary>
 /// Intercept the provider when database schema is creating (works only on SQL Server)
 /// </summary>
 public static void OnSchemaNameCreating(this BaseOrchestrator orchestrator, Func <SchemaNameCreatingArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #6
0
 /// <summary>
 /// Intercept the provider when a column is creating
 /// </summary>
 public static void OnColumnCreating(this BaseOrchestrator orchestrator, Action <ColumnCreatingArgs> action)
 => orchestrator.SetInterceptor(action);
Exemple #7
0
 /// <summary>
 /// Intercept the provider when a column is dropping
 /// </summary>
 public static void OnColumnDropping(this BaseOrchestrator orchestrator, Func <ColumnDroppingArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #8
0
 public static void OnDeserializingSet(this BaseOrchestrator orchestrator, Func <DeserializingSetArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #9
0
 /// <summary>
 /// Intercept the provider before it begins a database provisioning
 /// </summary>
 public static void OnProvisioning(this BaseOrchestrator orchestrator, Func <ProvisioningArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #10
0
 /// <summary>
 /// Occurs when changes have been retrieved from the local database
 /// </summary>
 public static void OnDatabaseChangesSelected(this BaseOrchestrator orchestrator, Func <DatabaseChangesSelectedArgs, Task> func)
 => orchestrator.SetInterceptor(func);
Exemple #11
0
 /// <summary>
 /// Occurs just before saving a serialized set to disk
 /// </summary>
 public static void OnSerializingSet(this BaseOrchestrator orchestrator, Action <SerializingSetArgs> action)
 => orchestrator.SetInterceptor(action);
Exemple #12
0
 /// <summary>
 /// Occurs when changes are going to be queried on the local database
 /// </summary>
 public static void OnDatabaseChangesSelecting(this BaseOrchestrator orchestrator, Action <DatabaseChangesSelectingArgs> func)
 => orchestrator.SetInterceptor(func);
Exemple #13
0
 /// <summary>
 /// Intercept the provider action when changes are going to be applied on each table defined in the configuration schema
 /// </summary>
 public static void OnDatabaseChangesApplying(this BaseOrchestrator orchestrator, Func <DatabaseChangesApplyingArgs, Task> func)
 => orchestrator.SetInterceptor(func);
Exemple #14
0
 /// <summary>
 /// Intercept the provider when a Stored Procedure is dropped
 /// </summary>
 public static void OnStoredProcedureDropped(this BaseOrchestrator orchestrator, Func <StoredProcedureDroppedArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #15
0
 /// <summary>
 /// Intercept the orchestrator when a snapshot has been applied
 /// </summary>
 public static void OnSnapshotApplied(this BaseOrchestrator orchestrator, Func <SnapshotAppliedArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #16
0
 /// <summary>
 /// Intercept the provider after it has provisioned a database
 /// </summary>
 public static void OnProvisioned(this BaseOrchestrator orchestrator, Action <ProvisionedArgs> action)
 => orchestrator.SetInterceptor(action);
Exemple #17
0
 /// <summary>
 /// Intercept the provider when a trigger is creating
 /// </summary>
 public static void OnTriggerCreating(this BaseOrchestrator orchestrator, Func <TriggerCreatingArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #18
0
 /// <summary>
 /// Intercept the provider before it begins a database deprovisioning
 /// </summary>
 public static void OnDeprovisioning(this BaseOrchestrator orchestrator, Action <DeprovisioningArgs> action)
 => orchestrator.SetInterceptor(action);
Exemple #19
0
 /// <summary>
 /// Intercept the provider when a column is created
 /// </summary>
 public static void OnColumnCreated(this BaseOrchestrator orchestrator, Func <ColumnCreatedArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #20
0
 /// <summary>
 /// Intercept the provider after it has deprovisioned a database
 /// </summary>
 public static void OnDeprovisioned(this BaseOrchestrator orchestrator, Func <DeprovisionedArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #21
0
 /// <summary>
 /// Intercept the provider when a column is dropped
 /// </summary>
 public static void OnColumnDropped(this BaseOrchestrator orchestrator, Action <ColumnDroppedArgs> action)
 => orchestrator.SetInterceptor(action);
Exemple #22
0
 /// <summary>
 /// Intercept the provider action when changes are going to be selected on each table defined in the configuration schema
 /// </summary>
 public static void OnTableChangesSelecting(this BaseOrchestrator orchestrator, Func <TableChangesSelectingArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #23
0
 /// Intercept the provider action when a provider has cleaned metadata
 /// </summary>
 public static void OnMetadataCleaned(this BaseOrchestrator orchestrator, Func <MetadataCleanedArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #24
0
 /// <summary>
 /// Intercept the provider action when a batch changes is going to be applied on a table
 /// </summary>
 public static void OnTableChangesBatchApplying(this BaseOrchestrator orchestrator, Action <TableChangesBatchApplyingArgs> action)
 => orchestrator.SetInterceptor(action);
Exemple #25
0
 /// <summary>
 /// Intercept the provider when a table is created
 /// </summary>
 public static void OnTableCreated(this BaseOrchestrator orchestrator, Action <TableCreatedArgs> action)
 => orchestrator.SetInterceptor(action);
Exemple #26
0
 /// <summary>
 /// Intercept the provider action when a batch changes is applied on a datasource table
 /// </summary>
 public static void OnTableChangesBatchApplied(this BaseOrchestrator orchestrator, Func <TableChangesBatchAppliedArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #27
0
 /// <summary>
 /// Intercept the provider when a table is dropped
 /// </summary>
 public static void OnTableDropped(this BaseOrchestrator orchestrator, Func <TableDroppedArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #28
0
 /// <summary>
 /// Intercept the orchestrator when applying a snapshot
 /// </summary>
 public static void OnSnapshotApplying(this BaseOrchestrator orchestrator, Action <SnapshotApplyingArgs> action)
 => orchestrator.SetInterceptor(action);
Exemple #29
0
 /// Intercept the provider action when a database has read a timestamp
 /// </summary>
 public static void OnLocalTimestampLoaded(this BaseOrchestrator orchestrator, Func <LocalTimestampLoadedArgs, Task> action)
 => orchestrator.SetInterceptor(action);
Exemple #30
0
 /// <summary>
 /// Intercept the provider when a Stored Procedure is created
 /// </summary>
 public static void OnStoredProcedureCreated(this BaseOrchestrator orchestrator, Action <StoredProcedureCreatedArgs> action)
 => orchestrator.SetInterceptor(action);