• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# BusinessObjects.FormViewParameter类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中IGRSS.BusinessObjects.FormViewParameter的典型用法代码示例。如果您正苦于以下问题:C# FormViewParameter类的具体用法?C# FormViewParameter怎么用?C# FormViewParameter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



FormViewParameter类属于IGRSS.BusinessObjects命名空间,在下文中一共展示了FormViewParameter类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: AddInwardDetailsTest

 public void AddInwardDetailsTest()
 {
     IGRSS.BusinessLogicLayer.InwardOutward target = new IGRSS.BusinessLogicLayer.InwardOutward();
     FormViewParameter Parameter = new FormViewParameter();
     IGRSS.DataAccessLayer.InwardOutward.Inward_OutwardRegisterDataTable dt = new IGRSS.DataAccessLayer.InwardOutward.Inward_OutwardRegisterDataTable();
     DataRow dr = dt.NewRow();
     dr["Inward_outwardId"] = new Guid();
     dr["RegisterType"] = "I";
     dr["DocumentNo"] = "2221";
     dr["InOutDate"] =DateTime.Now;
     dr["DocType"] = new Guid("f21071c4-076b-4040-bf45-412889457dae");
     dr["SentOfficeID"] = new Guid("916fd082-061a-45fb-91a4-33967243b4cf");
     dr["ReceivingOfficeID"] =new Guid("916fd082-061a-45fb-91a4-33967243b4cf");
     dr["DocumentSentFrom"] = "Chennai";
     dr["DocumentSentTo"] ="BANGALORE";
     dr["Description"] = "500";
     dr["StampValueAffixed"] = 20;
     dr["DeliveryType"] =new Guid("8d0413b8-75d9-4c46-9b0b-019b4dcb9253");
     dr["Remarks"] = "500";
     dr["CreatedBy"] ="RAJA";
     dt.Rows.Add(dr);
     Parameter.Values = dt.Rows[0];
     Assert.AreEqual(true,target.AddInwardDetails(Parameter), "IGRSS.BusinessLogicLayer.InwardOutward.AddInwardDetails did not return the expect" +
             "ed value.");
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:25,代码来源:InwardOutwardTest.cs


示例2: odsBranch_Updating

 protected void odsBranch_Updating(object sender, ObjectDataSourceMethodEventArgs e)
 {
     FormViewParameter Parameters = new FormViewParameter();
     Parameters.Values = (DataRow)e.InputParameters["Values"];
     e.InputParameters["Parameter"] = Parameters;
     e.InputParameters.Remove("Values");
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:7,代码来源:BranchToBranchInward.aspx.cs


示例3: odsOfficeCommunicationById_Inserting

 protected void odsOfficeCommunicationById_Inserting(object sender, ObjectDataSourceMethodEventArgs e)
 {
     FormViewParameter Parameters = new FormViewParameter();
     Parameters.Values = (DataRow) e.InputParameters["Values"];
     e.InputParameters["Parameter"] = Parameters;
     e.InputParameters.Remove("Values");
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:7,代码来源:OfficeCommunicationLKP.aspx.cs


示例4: OdsQualificationMaster_Inserting

 protected void OdsQualificationMaster_Inserting(object sender, ObjectDataSourceMethodEventArgs e)
 {
     FormViewParameter Parameters = new FormViewParameter();
     Parameters.Values = (DataRow) e.InputParameters["Values"];
     e.InputParameters["Parameter"] = Parameters;
     e.InputParameters.Remove("Values");
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:7,代码来源:QualificationMaster.aspx.cs


示例5: odsInspectionCheckList_Inserting

 protected void odsInspectionCheckList_Inserting(object sender, ObjectDataSourceMethodEventArgs e)
 {
     FormViewParameter Parameters = new FormViewParameter();
     Parameters.Values = (DataRow) e.InputParameters["Values"];
     e.InputParameters["Parameter"] = Parameters;
     e.InputParameters.Remove("Values");
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:7,代码来源:TestCheckList.aspx.cs


示例6: UpdateValuationForm

        public bool UpdateValuationForm(FormViewParameter ValFormParameter, DataTable DocDetails)
        {
            try
            {
                string curUser = Thread.CurrentPrincipal.Identity.Name;
                ValuationFormRow ValFormrow = (IGRSS.DataAccessLayer.Adjudication.ValuationFormRow)ValFormParameter.Values;
                Guid ValuationFormId = ValFormrow.OfficeId;

                IgrssAdapters.ValuationAdapter.UpdateValuationFormByValFormId(
                            ValFormrow.Village_CityName, ValFormrow.TPSchemeNo, ValFormrow.TPSchemeName, ValFormrow.FinalPlotNo, ValFormrow.CitySurveyNo,
                            ValFormrow.RevenueSurveyNo, ValFormrow.Ward_SubWardNo, ValFormrow.NameOfOwner, ValFormrow.AddressOfOwner,
                            ValFormrow.NameOfClaimingParty, ValFormrow.AddressOfClaimingParty, ValFormrow.AreaOfPlot, ValFormrow.AreaOfConstruction,
                            ValFormrow.YearOfConstruction, ValFormrow.NoOfFloors, ValFormrow.TypeOfProperty, ValFormrow.HeightOfCeiling,
                            ValFormrow.TypeOfTiles, ValFormrow.WallFurnishing, ValFormrow.NoOfBathrooms, ValFormrow.BathroomTilesHeight,
                            ValFormrow.NoOfToilets, ValFormrow.ToiletTilesHeight, ValFormrow.Parking, ValFormrow.DescOfProperty,
                            ValFormrow.ShopsOnGroundFloor, ValFormrow.IsPropertyInCommercial, ValFormrow.TypeOfElectricfication, ValFormrow.CompoundWallType,
                            ValFormrow.IsLightsOnCompoundWall, ValFormrow.WaterStorageFacility, ValFormrow.DrainageSystem, ValFormrow.NoOfLifts,
                            ValFormrow.AreaOfEachLift, ValFormrow.InternalRoad, ValFormrow.ValuatedBefore, ValFormrow.ValuationFormId, curUser, DateTime.Now);

                // Delete and Insert all the documents that are attached to this ValuationForm
                IgrssAdapters.AdjudicationDocumentAdapter.DeleteDocumentDetailByValuationFormId(ValuationFormId);
                foreach (DataRow DocDetail in DocDetails.Rows)
                {
                    IgrssAdapters.AdjudicationDocumentAdapter.AddAdjudicationDocument(ValuationFormId, (Guid)DocDetail["DocumentTypeId"], Convert.ToBoolean(DocDetail["Submitted"]), Convert.ToString(DocDetail["DocumentNumber"]), Convert.ToString(DocDetail["Remarks"]));
                }

                return true;
            }
            catch (Exception ex)
            {

                throw ex;
            }
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:34,代码来源:ValuationApplication.cs


示例7: AddNewRegistration

        public bool AddNewRegistration(FormViewParameter Parameter, DataTable PartyDetails, Guid Id, DataTable FeeDetails,DataTable DocDetails,Remarks rem)
        {
            IGRSS.DataAccessLayer.Registration.InputSheetRow row = (IGRSS.DataAccessLayer.Registration.InputSheetRow) Parameter.Values;
               Guid  ValuationFormId = Id;

            string curUser = Thread.CurrentPrincipal.Identity.Name;
            Guid RegistrationId = FileManager.OpenNewFile(row.OfficeId, "REG");
            FileManager.AddRemarkToFile(RegistrationId,rem.Subject,rem.Body);
            //ViewState["ValuationFormId"] = ValuationFormId;
            IgrssAdapters.InputSheet.AddNewInputSheet(RegistrationId, row.OfficeId, row.RegistrationTypeId,ValuationFormId, row.FilePrefix, row.FileSlNo, row.FileYear,
            row.ApplnDate, row.ApplicantName, row.ApplnAddress, row.PropertyValue, row.IsRented, row.LeasePeriodFrom, row.LeasePeriodTo,
            row.DepositAmount, row.Tax, row.YearlyRent, row.StampDutyUsed,  curUser, DateTime.Now);

            foreach (DataRow PartyDetail in PartyDetails.Rows)
            {
                IgrssAdapters.RegistrationPartyDetails.AddNewPartyDetails(Guid.NewGuid(), RegistrationId,

                (string) PartyDetail["PartyType"], (string) PartyDetail["Name"], (string) PartyDetail["Address"], (decimal) PartyDetail["Age"],
                (string) PartyDetail["Gender"], (Guid) PartyDetail["Religion"], (string) PartyDetail["Occupation"],
                (string) PartyDetail["Occupation"], curUser, DateTime.Now);

            }

            foreach (DataRow FeeDetail in FeeDetails.Rows)
            {
                IgrssAdapters.RegistrationFeeDetails.AddNewRegistrationFee(RegistrationId, (Guid) FeeDetail["FeeId"], Convert.ToDecimal(FeeDetail["Amount"]));
            }
            foreach (DataRow DocDetail in DocDetails.Rows)
            {

                IgrssAdapters.RegistrationDocumentCheckList.AddNewRegistrationDocuments(RegistrationId, (Guid) DocDetail["DocumentTypeId"], Convert.ToBoolean(DocDetail["Submitted"]), Convert.ToString(DocDetail["DocumentNumber"]), Convert.ToString(DocDetail["Remarks"]));
            }

             	return true;
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:35,代码来源:Registration.cs


示例8: AddNewActMaster

 public bool AddNewActMaster(FormViewParameter Parameter)
 {
     string curUser = Thread.CurrentPrincipal.Identity.Name;
     Guid ActId=Guid.NewGuid();
     IGRSS.DataAccessLayer.ActMaster.ActMasterRow row = (IGRSS.DataAccessLayer.ActMaster.ActMasterRow) Parameter.Values;
     IgrssAdapters.ActMasterAdapter.AddNewActMaster(ActId, row.DescriptionOfAct, row.NameOfAct, curUser, DateTime.Now);
     return true;
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:8,代码来源:RefundActMaster.cs


示例9: AddNewOffices

        public bool AddNewOffices(FormViewParameter Parameter)
        {
            //        Guid OfficeId = Guid.NewGuid();
            //        string curUser = Thread.CurrentPrincipal.Identity.Name;
            //        IGRSS.DataAccessLayer.OfficesMaster.OfficeMasterRow row = (IGRSS.DataAccessLayer.OfficesMaster.OfficeMasterRow) Parameter.Values;

            //        IgrssAdapters.OfficesAdapter.AddNewOffice(OfficeId, row.OfficeName, row.OfficeTypeId, row.Description, curUser, DateTime.Now);
            return true;
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:9,代码来源:OfficeMaster.cs


示例10: AddNewOfficeCommunication

        public bool AddNewOfficeCommunication(FormViewParameter Parameter)
        {
            string curUser = Thread.CurrentPrincipal.Identity.Name;
            IGRSS.DataAccessLayer.OfficesMaster.OfficesCommunication_LKPRow  row= (IGRSS.DataAccessLayer.OfficesMaster.OfficesCommunication_LKPRow)Parameter.Values;

            IgrssAdapters.OfficeCommunication_LKP.AddNewOfficeCommunication(row.OfficeId, row.CommunicationKey, row.CommunicatingOffice, row.Description, row.IsActive, curUser, DateTime.Now);

            return true;
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:9,代码来源:OfficeCommunicationLKP.cs


示例11: AddNewUserInOfficeRoles

        public bool AddNewUserInOfficeRoles(FormViewParameter Parameter,string UserName)
        {
            IGRSS.DataAccessLayer.WorkflowSupprot.UsersInOfficeRolesRow row = (IGRSS.DataAccessLayer.WorkflowSupprot.UsersInOfficeRolesRow) Parameter.Values;
            string curUser = Thread.CurrentPrincipal.Identity.Name;

            IgrssAdapters.UsersInOfficeRole.UpdateUserInOfficeRoles(UserName, row.DesignationID, row.OfficeId, row.Comments, row.IsActive, curUser, DateTime.Now);

            return true;
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:9,代码来源:ManageUserRoles.cs


示例12: AddVendorDetails

 public void AddVendorDetails(FormViewParameter Parameter)
 {
     string curUser = Thread.CurrentPrincipal.Identity.Name;
     try
     {
         IGRSS.DataAccessLayer.VendorMaster.VendorMasterRow Row = (IGRSS.DataAccessLayer.VendorMaster.VendorMasterRow) Parameter.Values;
         VendorAdapter.AddNewVendorDetails(Guid.NewGuid(), Row.VendorType, Row.CompanyName, Row.VendorName, Row.Address, Row.Phone, Row.ContactPerson, curUser, DateTime.Now);
     }
     catch (Exception ex)
     {
         if (ExceptionPolicy.HandleException(ex, "DAL"))
             throw;
     }
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:14,代码来源:VendorMaster.cs


示例13: AddNewEmployeeMaster

        public bool AddNewEmployeeMaster(FormViewParameter Parameter, DataTable dtQualification)
        {
            IGRSS.DataAccessLayer.Employee.EmployeeMasterRow row = (IGRSS.DataAccessLayer.Employee.EmployeeMasterRow) Parameter.Values;
            DataTable dt = IgrssAdapters.EmployeeMaster.SelectEmployeeDetailsByEmpNo(row.EmployeeNo);
            if (dt.Rows.Count==0)
            {
                Guid EmployeeId = Guid.NewGuid();
                string curUser = Thread.CurrentPrincipal.Identity.Name;
                try
                {
                    IgrssAdapters.EmployeeMaster.InsertEmployeeMaster(EmployeeId,
                                row.EmployeeNo,
                                row.FirstName,
                                row.MiddleName,

                                row.PostalAddress,
                                row.PermanentAddress,
                                row.DateOfBirth,
                                row.FatherName,
                                row.Height,
                                row.VisibleMarks,
                                row.OfficeID,
                                row.DepartmentID,
                                row.DesignationID,
                                row.Salary,
                                row.Allowances,
                                row.StartDate,

                                curUser,
                                DateTime.Now);

                    foreach (DataRow drQualifications in dtQualification.Rows)
                    {

                        IgrssAdapters.EmployeeQualifications.InsertEmployeeQualification(Guid.NewGuid(), EmployeeId, (Guid) drQualifications["QualificationID"], (string) drQualifications["Details"], curUser, DateTime.Now);
                    }

                }

                catch (Exception ex)
                {
                    if (ExceptionPolicy.HandleException(ex, "DAL"))
                        throw;
                }
                return true;
            }
            else
                return false;
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:49,代码来源:Employee.cs


示例14: AddLeaveDetails

 public bool AddLeaveDetails(FormViewParameter Parameter)
 {
     string curUser = Thread.CurrentPrincipal.Identity.Name;
          try
          {
              IGRSS.DataAccessLayer.Leave.LeaveRegisterRow Row = (IGRSS.DataAccessLayer.Leave.LeaveRegisterRow) Parameter.Values;
              IgrssAdapters.LeaveAdapter.AddLeaveDetails(Guid.NewGuid(), Row.EmployeeID, Row.ApplnDate, Row.ApplicableRules, Row.LeaveType, Row.LeaveFrom, Row.LeaveTo, Row.WorkingDays, Row.Reason, Row.ResumedDutyOn, curUser, DateTime.Now);
          }
          catch (Exception ex)
          {
              if (ExceptionPolicy.HandleException(ex, "DAL"))
                  throw;
          }
          return true;
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:15,代码来源:Leave.cs


示例15: AddVendorOffence

        public void AddVendorOffence(FormViewParameter Parameter, Guid LicenseId)
        {
            try
            {
                IGRSS.DataAccessLayer.VendorOffence.VendorOffenceRow Row = (IGRSS.DataAccessLayer.VendorOffence.VendorOffenceRow)Parameter.Values;
                FileidId = FileManager.OpenNewFile(Row.OfficeId, "LIC");
                IgrssAdapters.VOffenceAdapter.AddNewVendorOffence(FileidId, Row.OfficeId, Row.Name, Row.Summary, Row.Details, Row.OffenceDate, LicenseId);

            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "DAL"))
                    throw;
            }
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:15,代码来源:VendorOffence.cs


示例16: AddNewComplain

        //string ComplaintNo, Guid ComplaintType, Guid AgainstEmpID, Guid ComplainingEmpID, string ComplainantName, string ComplainantAddress, DateTime ComplaintDate, Guid ReceivingOfficeId, string Subject, string Detail)
        /// <summary>
        /// This function will add the new Complain. 
        /// </summary>
        /// <returns>void</returns>
        public bool AddNewComplain(FormViewParameter Parameter, Remarks rem)
        {
            string curUser = Thread.CurrentPrincipal.Identity.Name;
            int i = 0;
            ComplainDetailsRow row = (ComplainDetailsRow)Parameter.Values;
            try
            {
                Guid ComplainId = FileManager.OpenNewFile(row.ReceivingOfficeId, "COM");
                // Commented By Akhilesh.
                //if (rem.Subject != "" && rem.Body != "")
                //{
                //    FileManager.AddRemarkToFile(ComplainId, rem.Subject, rem.Body);
                //}
                int rowsAffected=0;
                if(row.ComplaintType == new Guid("85aefd8d-6b7e-4ab8-b124-21b52073f7b3"))
                {
                    i=IgrssAdapters.ComplainAdapter.AddNewComplainDetails(ComplainId, row.ComplaintNo, row.ComplaintType, row.AgainstEmpID, row.ComplainingEmpID, row.ComplainantName, row.ComplainantAddress, row.ComplaintDate, row.ReceivingOfficeId, row.Subject, row.Detail, curUser, DateTime.Now,row.Designation,row.CurrentOffice);
                }
                if (row.ComplaintType == new Guid("96369687-0450-42fc-ba41-ad35ade13b53"))
                {
                     i=IgrssAdapters.ComplainAdapter.AddNewComplainDetails(ComplainId, row.ComplaintNo, row.ComplaintType, row.AgainstEmpID, row.ComplainingEmpID, row.ComplainantName, row.ComplainantAddress, row.ComplaintDate, null, row.Subject, row.Detail, curUser, DateTime.Now, row.Designation, null);
                }
                if (i > 0)
                {
                    Dictionary<string, object> WfParams = new Dictionary<string, object>();
                    WfParams.Add("ComplainId", ComplainId);
                    WfParams.Add("ComplainOffice", row.ReceivingOfficeId);

                    WorkflowResults WfResult = WorkflowMediator.RunWorkflow(typeof(ComplainProcess), WfParams);

                    return true;
                }
                else
                {

                    return false;
                }
            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "DAL"))
                    throw;
                return false;
            }
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:50,代码来源:Complain.cs


示例17: AddAppealAplication

        public bool AddAppealAplication(FormViewParameter parameter, DataTable dtAct,Remarks rem)
        {
            //Initiate some of the fields required for the process
            AppealApplicationRow rowApl = (AppealApplicationRow)parameter.Values;
            Guid AppealId = FileManager.OpenNewFile(rowApl.OfficeId, "APL");
            FileManager.AddRemarkToFile(AppealId, rem.Subject, rem.Body);
            string curUser = Thread.CurrentPrincipal.Identity.Name;
            int i = 0;
            try
            {

                IGRSS.DataAccessLayer.Appeal.AppealApplicationRow row = (AppealApplicationRow) parameter.Values;
                i=IgrssAdapters.AppealAdapter.AddAppealApplication(AppealId, row.OfficeId, row.RegistrationNo, row.ApplicantName, row.Address, row.TypeOfAppeal, row.CalculatedAmount, row.DepositAmount, row.FeeReceiptNo, row.Amount, row.InwardDate, row.IsPaidAppealFee, row.AppealInTime, row.PaperFromTo, row.CourtFeeTicket, curUser, DateTime.Now, row.DocumentNo, row.OriginalSRO, row.DocumentDate, row.DaTeOffOrderFromCollector, row.DficitAmount,row.ReceiptNo,row.ReceiptDate);
                if (i > 0)
                {
                    foreach (DataRow dr in dtAct.Rows)
                    {
                        IgrssAdapters.AppealActAdapter.AddAppealAct(AppealId, (Guid)dr["ActId"], (bool)dr["Checked"]);
                    }

                    // All database Inserts have been completed sucessfully initiate the Workflow
                    // Create a Dioctionary to store Workflow Paramaters for Appeal
                    Dictionary<string, object> WfParams = new Dictionary<string, object>();
                    // Add Refund Application  Id into the Workflow Parameter
                    WfParams.Add("AppealId", AppealId);
                    // Add Office Id in to Workflow Parameter
                    // (to identify the process flow for the Office)
                    WfParams.Add("InitiatingOffice", row.OfficeId);

                    // Initiate the Refund Workflow by passing the Wf Parameters Dictionary
                    WorkflowResults WfResult = WorkflowMediator.RunWorkflow(typeof(AppealProcess), WfParams);
                    return true;
                }
                else
                {
                    return false;
                }
            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "DAL"))
                    throw;
                return false;
            }
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:45,代码来源:AppealApplication.cs


示例18: AddLeaveDetailsTest

 public void AddLeaveDetailsTest()
 {
     IGRSS.BusinessLogicLayer.Leave target = new IGRSS.BusinessLogicLayer.Leave();
     FormViewParameter Parameter =new FormViewParameter(); // TODO: Initialize to an appropriate value
     IGRSS.DataAccessLayer.Leave.LeaveRegisterDataTable Dt = new IGRSS.DataAccessLayer.Leave.LeaveRegisterDataTable();
     DataRow dr = Dt.NewRow();
     dr["EmployeeID"] = new Guid("fc9b70d5-9344-4059-87f2-a9d082601c76");
     dr["LeaveType"] = new Guid("9ec9c473-dd5d-47af-885a-59a65a5bb651");
     dr["LeaveFrom"] = DateTime.Now;
     dr["LeaveTo"] = DateTime.Now;
     dr["Reason"] ="just not filing well";
     dr["ResumedDutyOn"] = DateTime.Now.AddDays(5);
     Parameter.Values = Dt.Rows[0];
     Dt.Rows.Add(dr);
     bool expected = true;
     Assert.AreEqual(expected, target.AddLeaveDetails(Parameter), "IGRSS.BusinessLogicLayer.Leave.AddLeaveDetails did not return the expected value." +
             "");
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:18,代码来源:LeaveTest.cs


示例19: AddAppealAplicationTest

 public void AddAppealAplicationTest()
 {
     IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
     FormViewParameter Parameter = new FormViewParameter();
     IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable dt = new IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable();
     DataRow dr = dt.NewRow();
     dr["AppealApplicationId"] = new Guid();
     dr["AppealPrefix"] = "YSL";
     dr["AppealSlNo"]="22210";
     dr["AppealYear"]=2006;
     dr["OfficeId"]=new Guid("514ba1d5-61fb-4b9d-abfd-0dff857ca05d");
     dr["RegistrationNo"]="324444";
     dr["ApplicantName"]="BASKAR";
     dr["Address"]="Chennai";
     dr["TypeOfAppeal"]=2;
     dr["CalculatedAmount"]=500;
     dr["DepositAmount"] = 200;
     dr["FeeReceiptNo"]="467";
     dr["Amount"]="500";
     dr["InwardDate"]=DateTime.Now;
     dr["IsPaidAppealFee"]=true;
     dr["AppealInTime"]=true;
     dr["PaperFromTo"]="ssss";
     dr["CourtFeeTicket"]=true;
     dr["AppealRemarks"]="short listed";
     dr["CreatedBy"] = "sahu";
     dr["DocumentNo"]="3333";
     dr["OriginalSRO"] = new Guid("916fd082-061a-45fb-91a4-33967243b4cf");
     dr["DocumentDate"] = DateTime.Now;
     dt.Rows.Add(dr);
     Parameter.Values = dt.Rows[0];
     DataTable dtAct = new DataTable();
     dtAct.Columns.Add("ActId", typeof(Guid));
     dtAct.Columns.Add("Checked", typeof(bool));
     DataRow actDR;
     actDR = dtAct.NewRow();
     actDR["ActId"] = new Guid("eee9b625-be85-4715-920b-3ed6ec0f4470");
     actDR["Checked"] = true;
     dtAct.Rows.Add(actDR);
     target.AddAppealAplication(Parameter, dtAct);
     bool expected = true;
     Assert.AreEqual(expected,target.AddAppealAplication(Parameter, dtAct), "IGRSS.BusinessLogicLayer.Leave.AddLeaveDetails did not return the expected value." +
             "");
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:44,代码来源:AppealApplicationTest.cs


示例20: AddNewvendorInvestigationDetails

        public bool AddNewvendorInvestigationDetails(FormViewParameter Parameter,Guid OffenceId,string InvestigationType,string Remarks)
        {
            try
            {
                IGRSS.DataAccessLayer.VendorOffence.VendorInvestigationRow Row = (IGRSS.DataAccessLayer.VendorOffence.VendorInvestigationRow)Parameter.Values;

                int i=IgrssAdapters.VInspectionAdapter.AddNewvendorInvestigationDetails(OffenceId, Guid.NewGuid(),InvestigationType,Row.Date, Row.Participants, Row.Summary, Row.Details,Row.IsJudgement,Remarks);
                if (i == 1)
                    return true;
                else
                    return false;

            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "DAL"))
                    throw;
                return false;
            }
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:20,代码来源:VendorOffence.cs



注:本文中的IGRSS.BusinessObjects.FormViewParameter类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Data.ConvertServiceRequest类代码示例发布时间:2022-05-26
下一篇:
C# ICSimulator.Flit类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap