public virtual Refund.RefundActsApplicableDataTable SelectActDetailsByRefundApplicationId(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.RefundActsApplicableDataTable dataTable = new Refund.RefundActsApplicableDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual Refund.RefundActsApplicableDataTable GetAllRefundActsApplicable() { this.Adapter.SelectCommand = this.CommandCollection[0]; Refund.RefundActsApplicableDataTable dataTable = new Refund.RefundActsApplicableDataTable(); this.Adapter.Fill(dataTable); return dataTable; }