You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Framework/Connected.Data/Schema/Sql/SynchronizationTransaction.cs

20 lines
386 B

2 years ago
namespace Connected.Data.Schema.Sql
{
internal abstract class SynchronizationTransaction : SynchronizationCommand
{
protected SchemaExecutionContext Context { get; private set; }
public async Task Execute(SchemaExecutionContext context)
{
Context = context;
await OnExecute();
}
protected virtual async Task OnExecute()
{
await Task.CompletedTask;
}
}
}