public async Task <RefDataNamespace.EyeColorCollection> EyeColorGetAllAsync() { var __coll = new RefDataNamespace.EyeColorCollection(); await DataInvoker.Current.InvokeAsync(this, async() => { _ef.Query(EyeColorMapper.CreateArgs()).SelectQuery(__coll); await Task.CompletedTask.ConfigureAwait(false); }, BusinessInvokerArgs.TransactionSuppress).ConfigureAwait(false); return(__coll); }
/// <summary> /// Gets all the <see cref="RefDataNamespace.EyeColor"/> objects. /// </summary> /// <returns>A <see cref="RefDataNamespace.EyeColorCollection"/>.</returns> public async Task <RefDataNamespace.EyeColorCollection> EyeColorGetAllAsync() { var __coll = new RefDataNamespace.EyeColorCollection(); await DataInvoker.Default.InvokeAsync(this, async() => { EfDb.Default.Query(EyeColorMapper.CreateArgs()).SelectQuery(__coll); await Task.CompletedTask; }, BusinessInvokerArgs.RequiresNewAndTransactionSuppress); return(__coll); }