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.
19 lines
405 B
19 lines
405 B
namespace Connected.ServiceModel.Client.Data.Schema;
|
|
internal class SynchronizationQuery<T> : SynchronizationCommand
|
|
{
|
|
protected SchemaExecutionContext Context { get; private set; }
|
|
|
|
public async Task<T> Execute(SchemaExecutionContext context)
|
|
{
|
|
Context = context;
|
|
|
|
return await OnExecute();
|
|
}
|
|
|
|
protected virtual async Task<T> OnExecute()
|
|
{
|
|
await Task.CompletedTask;
|
|
|
|
return default;
|
|
}
|
|
} |