Ejemplo n.º 1
0
        public Task <SqlDeleteAsyncResponse> DeleteAsyncSearchAsync(Elastic.Clients.Elasticsearch.Id id, Action <SqlDeleteAsyncRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new SqlDeleteAsyncRequestDescriptor(id);

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <SqlDeleteAsyncRequestDescriptor, SqlDeleteAsyncResponse>(descriptor));
        }
Ejemplo n.º 2
0
        public SqlDeleteAsyncResponse DeleteAsyncSearch(Elastic.Clients.Elasticsearch.Id id, Action <SqlDeleteAsyncRequestDescriptor> configureRequest = null)
        {
            var descriptor = new SqlDeleteAsyncRequestDescriptor(id);

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <SqlDeleteAsyncRequestDescriptor, SqlDeleteAsyncResponse>(descriptor));
        }