コード例 #1
0
        public async Task <T> GetById(TK id)
        {
            var model = await _table.FindAsync(id);

            foreach (var reference in Context.Entry(model).References)
            {
                await reference.LoadAsync();
            }

            return(model);
        }