Ejemplo n.º 1
0
 private void PrepareWorkingProcedure()
 {
     _workingProcedure = new WorkingProcedure { Name = "w1" };
     _workingProcedure.SetIdTo(1);
 }
Ejemplo n.º 2
0
        private void PrepareWorkingProcedure()
        {
            var workingProcedureRepository = new WorkingProcedureRepository();

            _workingProcedure = new WorkingProcedure {Name = "w1"};

            workingProcedureRepository.SaveOrUpdate(_workingProcedure);

            FlushAndClearSession();
        }