Example #1
0
 public void AddSpecimenTubeAttach(DtoSpecimenTubeAttach dtoSpecimenTubeAttach)
 {
     var specimenTubeAttach = new SpecimenTubeAttach()
     {
         ConcreteSpecimen = new ConcreteSpecimen()
         {
             Id = dtoSpecimenTubeAttach.ConcreteSpecimen.Id
         },
         ConcreteTube = new ConcreteTube()
         {
             Id = dtoSpecimenTubeAttach.ConcreteTube.Id
         }
     };
     SpecimenTubeAttachMethods.Instance.InsertSpecimenTubeAttach(specimenTubeAttach);
 }
Example #2
0
        public void AddSpecimenTubeAttach(DtoSpecimenTubeAttach dtoSpecimenTubeAttach)
        {
            var specimenTubeAttach = new SpecimenTubeAttach()
            {
                ConcreteSpecimen = new ConcreteSpecimen()
                {
                    Id = dtoSpecimenTubeAttach.ConcreteSpecimen.Id
                },
                ConcreteTube = new ConcreteTube()
                {
                    Id = dtoSpecimenTubeAttach.ConcreteTube.Id
                }
            };

            SpecimenTubeAttachMethods.Instance.InsertSpecimenTubeAttach(specimenTubeAttach);
        }