コード例 #1
0
        private void Dispose(bool disposing)
        {
            if (!disposing)
            {
                return;
            }
            if (_context == null)
            {
                return;
            }

            _context.Dispose();
            _context = null;
        }
コード例 #2
0
 public UnitOfWork(OmorfiasContext context)
 {
     _context = context;
 }