Example #1
0
 public virtual Refund.RefundStampDetailsDataTable SelectRefundStampDetailsByRefundId(global::System.Nullable<global::System.Guid> RefundApplicationId) {
     this.Adapter.SelectCommand = this.CommandCollection[3];
     if ((RefundApplicationId.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(RefundApplicationId.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     Refund.RefundStampDetailsDataTable dataTable = new Refund.RefundStampDetailsDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
Example #2
0
 public virtual Refund.RefundStampDetailsDataTable UpdateRefundStampDetails(string ReturnedQty, string StampNumber, global::System.Nullable<global::System.Guid> RevenueStampId, global::System.Nullable<global::System.Guid> RefundApplicationId) {
     this.Adapter.SelectCommand = this.CommandCollection[4];
     if ((ReturnedQty == null)) {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ReturnedQty));
     }
     if ((StampNumber == null)) {
         this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
     }
     else {
         this.Adapter.SelectCommand.Parameters[2].Value = ((string)(StampNumber));
     }
     if ((RevenueStampId.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[3].Value = ((System.Guid)(RevenueStampId.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
     }
     if ((RefundApplicationId.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[4].Value = ((System.Guid)(RefundApplicationId.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
     }
     Refund.RefundStampDetailsDataTable dataTable = new Refund.RefundStampDetailsDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
Example #3
0
 public virtual Refund.RefundStampDetailsDataTable GetRefundStampDetails() {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     Refund.RefundStampDetailsDataTable dataTable = new Refund.RefundStampDetailsDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }