Пример #1
0
 public virtual LicenseReNewal.RenewLicenseDataTable GetRenewalHistryByLicenseApplicationId(global::System.Nullable<global::System.Guid> LicenseApplicationId) {
     this.Adapter.SelectCommand = this.CommandCollection[1];
     if ((LicenseApplicationId.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(LicenseApplicationId.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     LicenseReNewal.RenewLicenseDataTable dataTable = new LicenseReNewal.RenewLicenseDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
Пример #2
0
 public virtual LicenseReNewal.RenewLicenseDataTable GetRenewalHistry(string LicenseNo) {
     this.Adapter.SelectCommand = this.CommandCollection[2];
     if ((LicenseNo == null)) {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = ((string)(LicenseNo));
     }
     LicenseReNewal.RenewLicenseDataTable dataTable = new LicenseReNewal.RenewLicenseDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
Пример #3
0
 public virtual LicenseReNewal.RenewLicenseDataTable GetRenewalLicense() {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     LicenseReNewal.RenewLicenseDataTable dataTable = new LicenseReNewal.RenewLicenseDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }