public void InsertTestTubeAttach(TestTubeAttach testTubeAttach)
 {
     var result = InsertEntity<TestTubeAttach>(testTubeAttach);
     if (result)
     {
         log.Info(string.Format("Test {0} to Tube {1} attached", testTubeAttach.ConcreteTest.Id, testTubeAttach.ConcreteTube.Id));
     }
 }
Beispiel #2
0
        public void InsertTestTubeAttach(TestTubeAttach testTubeAttach)
        {
            var result = InsertEntity <TestTubeAttach>(testTubeAttach);

            if (result)
            {
                log.Info(string.Format("Test {0} to Tube {1} attached", testTubeAttach.ConcreteTest.Id, testTubeAttach.ConcreteTube.Id));
            }
        }
Beispiel #3
0
 public void DeleteTestTubeAttach(TestTubeAttach testTubeAttach)
 {
     DeleteEntity <TestTubeAttach>(testTubeAttach);
 }
Beispiel #4
0
 public void DeleteTestTubeAttach(string orderNumber)
 {
     TestTubeAttach[] testTubeAttaches = TestTubeAttachMethods.Instance.GetTestTubeAttachesByOrder(orderNumber);
     foreach (var testTube in testTubeAttaches)
     {
         TestTubeAttach testTubeAttach = new TestTubeAttach()
         {
             Id = testTube.Id
         };
         TestTubeAttachMethods.Instance.DeleteTestTubeAttach(testTubeAttach);
     }
 }
Beispiel #5
0
 public void AddTestTubeAttach(DtoTestTubeAttach dtoTestTubeAttach)
 {
     var testTubeAttach = new TestTubeAttach()
     {
         ConcreteTest = new ConcreteTest()
         {
             Id = dtoTestTubeAttach.DtoConcreteTest.Id
         },
         ConcreteTube = new ConcreteTube()
         {
             Id = dtoTestTubeAttach.DtoConctereTube.Id
         }
     };
     TestTubeAttachMethods.Instance.InsertTestTubeAttach(testTubeAttach);
 }
 public void DeleteTestTubeAttach(TestTubeAttach testTubeAttach)
 {
     DeleteEntity<TestTubeAttach>(testTubeAttach);
 }