Example #1
0
        public YellowstonePathology.Business.Test.AccessionOrder GetAccessionOrderByMasterAccessionNo(string masterAccessionNo)
        {
            AODocumentBuilder documentBuilder = new AODocumentBuilder(masterAccessionNo, false);

            YellowstonePathology.Business.Test.AccessionOrder result = (YellowstonePathology.Business.Test.AccessionOrder)documentBuilder.BuildNew();
            return(result);
        }
Example #2
0
        public YellowstonePathology.Business.Test.AccessionOrder PullAccessionOrder(string masterAccessionNo, object writer)
        {
            AODocumentBuilder documentBuilder = new AODocumentBuilder(masterAccessionNo, true);
            DocumentId        documentId      = new DocumentId(typeof(YellowstonePathology.Business.Test.AccessionOrder), writer, masterAccessionNo);
            Document          document        = this.m_Stack.Pull(documentId, documentBuilder);

            return((YellowstonePathology.Business.Test.AccessionOrder)document.Value);
        }
Example #3
0
 public void RefreshAccessionOrder(string masterAccessionNo)
 {
     lock (locker)
     {
         AODocumentBuilder documentBuilder = new AODocumentBuilder(masterAccessionNo, true);
         Document          document        = this.m_Stack.Documents.Get(masterAccessionNo);
         YellowstonePathology.Business.Test.AccessionOrder accessionOrder = (YellowstonePathology.Business.Test.AccessionOrder)document.Value;
         documentBuilder.Refresh(accessionOrder);
         document.ResetClone();
     }
 }
Example #4
0
 public YellowstonePathology.Business.Test.AccessionOrder GetAccessionOrderByMasterAccessionNo(string masterAccessionNo)
 {
     lock (locker)
     {
         AODocumentBuilder documentBuilder = new AODocumentBuilder(masterAccessionNo, false);
         YellowstonePathology.Business.Test.AccessionOrder result = (YellowstonePathology.Business.Test.AccessionOrder)documentBuilder.BuildNew();
         return result;
     }
 }
Example #5
0
 public void RefreshAccessionOrder(string masterAccessionNo)
 {
     lock (locker)
     {
         AODocumentBuilder documentBuilder = new AODocumentBuilder(masterAccessionNo, true);
         Document document = this.m_Stack.Documents.Get(masterAccessionNo);
         YellowstonePathology.Business.Test.AccessionOrder accessionOrder = (YellowstonePathology.Business.Test.AccessionOrder)document.Value;
         documentBuilder.Refresh(accessionOrder);
         document.ResetClone();
     }
 }
Example #6
0
        public YellowstonePathology.Business.Test.AccessionOrder PullAccessionOrder(string masterAccessionNo, object writer)
        {
            lock(locker)
            {
                AODocumentBuilder documentBuilder = new AODocumentBuilder(masterAccessionNo, true);
                DocumentId documentId = new DocumentId(typeof(YellowstonePathology.Business.Test.AccessionOrder), writer, masterAccessionNo);
                Document document = this.m_Stack.Pull(documentId, documentBuilder);

                YellowstonePathology.Business.Test.AccessionOrder accessionOrder = (YellowstonePathology.Business.Test.AccessionOrder)document.Value;
                return accessionOrder;
            }
        }