private void CheckUserID() { if (_UserID == string.Empty) { ReportDataException.ThrowException(UFIDA.U8.UAP.Services.ReportResource.U8ResService.GetResStringEx("U8.UAP.Services.ReportData.ReportDefinition.在调用Insert()时UserID不能为空"), "ReportDefinition.CheckUserID()"); } }
private static void CheckNameExist( string reportID, string reportName, string subProjectID) { if (IsExistedReportName(reportID, reportName, subProjectID)) { ReportDataException.ThrowException(UFIDA.U8.UAP.Services.ReportResource.U8ResService.GetResStringEx("U8.UAP.Services.ReportData.ReportDefinition.在该子系统(包括不同语言下)中已经存在相同名称的报表"), "ReportDefinition.CheckNameExist()"); } }