示例#1
0
        //新增样本性状记录
        public long AddNewSampleCharacter(string strSampleCharacter, string strPyCode, string strWbCode, string strSampleTypeID, ref string strSEQ)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal = null;
            com.digitalwave.iCare.ValueObject.clsSampleCharacter_VO objSampleCharacterVO = new com.digitalwave.iCare.ValueObject.clsSampleCharacter_VO();
            objSampleCharacterVO.m_strCharacter_Desc = strSampleCharacter;
            objSampleCharacterVO.m_strPyCode         = strPyCode;
            objSampleCharacterVO.m_strSample_Type_ID = strSampleTypeID;
            objSampleCharacterVO.m_strwbCode         = strWbCode;
            objSampleCharacterVO.m_strCharacter_Ord  = strSEQ;
            com.digitalwave.iCare.middletier.LIS.clsCheckItemSvc objSampleCharacterSvc =
                (com.digitalwave.iCare.middletier.LIS.clsCheckItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsCheckItemSvc));
            lngRes = objSampleCharacterSvc.m_lngAddSampleCharacterBySampleTypeID(p_objPrincipal, ref objSampleCharacterVO);
//			objSampleCharacterSvc.Dispose();
            strSEQ = objSampleCharacterVO.m_strCharacter_Ord;
            return(lngRes);
        }