Example #1
0
        public void GetAllAppealApplicationTest()
        {
            AppealApplication target = new AppealApplication();

            Appeal.AppealApplicationDataTable expected = null;
            Appeal.AppealApplicationDataTable actual;

            actual = target.GetAllAppealApplication();

            Assert.AreEqual(expected, actual, "IGRSS.BusinessLogicLayer.AppealApplication.GetAllAppealApplication did not return" +
                            " the expected value.");
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Example #2
0
        public void GetAppealStatusByAppealNoTest()
        {
            AppealApplication target = new AppealApplication();

            decimal AppealSlNo = 0; // TODO: Initialize to an appropriate value

            Appeal.AppealApplicationDataTable expected = null;
            Appeal.AppealApplicationDataTable actual;

            actual = target.GetAppealStatusByAppealNo(AppealSlNo);

            Assert.AreEqual(expected, actual, "IGRSS.BusinessLogicLayer.AppealApplication.GetAppealStatusByAppealNo did not retu" +
                            "rn the expected value.");
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Example #3
0
        public void GetAppealApplicationByApplicantNameTest()
        {
            AppealApplication target = new AppealApplication();

            string ApplicantName = null; // TODO: Initialize to an appropriate value

            Appeal.AppealApplicationDataTable expected = null;
            Appeal.AppealApplicationDataTable actual;

            actual = target.GetAppealApplicationByApplicantName(ApplicantName);

            Assert.AreEqual(expected, actual, "IGRSS.BusinessLogicLayer.AppealApplication.GetAppealApplicationByApplicantName di" +
                            "d not return the expected value.");
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Example #4
0
 public virtual Appeal.AppealApplicationDataTable GetHighCourtDetailsByAppealApplicationId(global::System.Nullable<global::System.Guid> AppealApplicationId) {
     this.Adapter.SelectCommand = this.CommandCollection[10];
     if ((AppealApplicationId.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(AppealApplicationId.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     Appeal.AppealApplicationDataTable dataTable = new Appeal.AppealApplicationDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
Example #5
0
 public virtual Appeal.AppealApplicationDataTable GetHighCourtDetails(string FileNo, string CaseNo, string ApplicantName) {
     this.Adapter.SelectCommand = this.CommandCollection[9];
     if ((FileNo == null)) {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = ((string)(FileNo));
     }
     if ((CaseNo == null)) {
         this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
     }
     else {
         this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CaseNo));
     }
     if ((ApplicantName == null)) {
         this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
     }
     else {
         this.Adapter.SelectCommand.Parameters[3].Value = ((string)(ApplicantName));
     }
     Appeal.AppealApplicationDataTable dataTable = new Appeal.AppealApplicationDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
Example #6
0
 public virtual Appeal.AppealApplicationDataTable GetAppealStatusByAppealNo(global::System.Nullable<decimal> AppealSlN0) {
     this.Adapter.SelectCommand = this.CommandCollection[8];
     if ((AppealSlN0.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(AppealSlN0.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     Appeal.AppealApplicationDataTable dataTable = new Appeal.AppealApplicationDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
Example #7
0
 public virtual Appeal.AppealApplicationDataTable GetAppealApplicationByApplicantName(string ApplicantName) {
     this.Adapter.SelectCommand = this.CommandCollection[6];
     if ((ApplicantName == null)) {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ApplicantName));
     }
     Appeal.AppealApplicationDataTable dataTable = new Appeal.AppealApplicationDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
Example #8
0
 public virtual Appeal.AppealApplicationDataTable GetData() {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     Appeal.AppealApplicationDataTable dataTable = new Appeal.AppealApplicationDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }