Exemplo n.º 1
0
        private void Dispose(bool disposing)
        {
            if (!disposing)
            {
                return;
            }

            if (_skynetCoreDataContext == null)
            {
                return;
            }

            _skynetCoreDataContext.Dispose();
            _skynetCoreDataContext = null;
        }
Exemplo n.º 2
0
 public EmployeeRepository(SerkoCoreDataContext skynetCoreDataContext)
 => _skynetCoreDataContext = skynetCoreDataContext;
Exemplo n.º 3
0
 public UnitOfWork(SerkoCoreDataContext skynetCoreDataContext)
 {
     _skynetCoreDataContext = skynetCoreDataContext;
 }
 public ExpenseRepository(SerkoCoreDataContext serkoCoreDataContext)
 => _serkoCoreDataContext = serkoCoreDataContext;