public virtual LicenseApplication.SaleRegisterDataTable GetSalseDetailsByLicenseId(global::System.Nullable<global::System.Guid> licenseId) {
     this.Adapter.SelectCommand = this.CommandCollection[3];
     if ((licenseId.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(licenseId.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     LicenseApplication.SaleRegisterDataTable dataTable = new LicenseApplication.SaleRegisterDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
 public virtual LicenseApplication.SaleRegisterDataTable GetData() {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     LicenseApplication.SaleRegisterDataTable dataTable = new LicenseApplication.SaleRegisterDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }