public KumasAndIplikUOW(string ConnectionString = null) { if (ConnectionString == null) { Context = new KumasAndIplikContext(ConnectionStringGetter.Get()); } else { Context = new KumasAndIplikContext(ConnectionString); } CrashRegister = new CrashRegisterDAL(Context); Factory = new FactoryDAL(Context); Machine = new MachineDAL(Context); MachineComponent = new MachineComponentDAL(Context); StenterMachine = new StenterMachineDAL(Context); Employee = new EmployeeDAL(Context); ManipulatorEmployee = new ManipulatorEmployeeDAL(Context); }