예제 #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));
        }
예제 #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));
        }