public async Task <RefDataNamespace.MaturityInstructionsCollection> MaturityInstructionsGetAllAsync() { var __coll = new RefDataNamespace.MaturityInstructionsCollection(); await DataInvoker.Current.InvokeAsync(this, async() => { _cosmos.ValueQuery(MaturityInstructionsMapper.CreateArgs("RefData")).SelectQuery(__coll); await Task.CompletedTask.ConfigureAwait(false); }).ConfigureAwait(false); return(__coll); }
public async Task <RefDataNamespace.MaturityInstructionsCollection> MaturityInstructionsGetAllAsync() { var __coll = new RefDataNamespace.MaturityInstructionsCollection(); await DataInvoker.Default.InvokeAsync(this, async() => { CosmosDb.Default.ValueQuery(MaturityInstructionsMapper.CreateArgs("RefData")).SelectQuery(__coll); await Task.CompletedTask; }, BusinessInvokerArgs.RequiresNewAndTransactionSuppress); return(__coll); }
public async Task <RefDataNamespace.MaturityInstructionsCollection> MaturityInstructionsGetAllAsync() { var __coll = new RefDataNamespace.MaturityInstructionsCollection(); await DataInvoker.Current.InvokeAsync(this, async() => { _cosmos.ValueQuery <RefDataNamespace.MaturityInstructions, Model.MaturityInstructions>(CosmosDbArgs.Create(_mapper, "RefData", new Beef.Entities.PagingArgs().OverrideTake(100000))).SelectQuery(__coll); await Task.CompletedTask.ConfigureAwait(false); }).ConfigureAwait(false); return(__coll); }