Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        /// <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);
        }