Ejemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="p_objRecordContent"></param>
        /// <returns></returns>
        public long m_lngAddNewRecord2DB(iCareData.clsLabCheckOrderContent p_objRecordContent)
        {
            com.digitalwave.LabAnalysisOrderService.clsLabAnalysisOrderService m_objServ =
                (com.digitalwave.LabAnalysisOrderService.clsLabAnalysisOrderService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.LabAnalysisOrderService.clsLabAnalysisOrderService));

            long m_lngRes = 0;

            try
            {
                m_lngRes = m_objServ.m_lngAddNewRecord2DB(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objRecordContent);
            }
            finally
            {
                //m_objServ.Dispose();
            }
            return(m_lngRes);
        }
Ejemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="p_strInPatientID"></param>
        /// <param name="p_strInPatientDate"></param>
        /// <param name="p_strCreateDate"></param>
        /// <param name="p_objRecordContent"></param>
        /// <returns></returns>
        public long m_lngGetRecordContentWithServ(string p_strInPatientID, string p_strInPatientDate, string p_strCreateDate, out iCareData.clsLabCheckOrderContent p_objRecordContent)
        {
            com.digitalwave.LabAnalysisOrderService.clsLabAnalysisOrderService m_objServ =
                (com.digitalwave.LabAnalysisOrderService.clsLabAnalysisOrderService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.LabAnalysisOrderService.clsLabAnalysisOrderService));

            long m_lngRes = 0;

            try
            {
                m_lngRes = m_objServ.m_lngGetRecordContentWithServ(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientID, p_strInPatientDate, p_strCreateDate, out p_objRecordContent);
            }
            finally
            {
                //m_objServ.Dispose();
            }
            return(m_lngRes);
        }