public virtual InwardOutward.PostalStampPurchaseReqDataTable GetPostalRequestdetailsById(global::System.Nullable<global::System.Guid> PurRequestId) { this.Adapter.SelectCommand = this.CommandCollection[3]; if ((PurRequestId.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(PurRequestId.Value)); } else { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } InwardOutward.PostalStampPurchaseReqDataTable dataTable = new InwardOutward.PostalStampPurchaseReqDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual InwardOutward.PostalStampPurchaseReqDataTable GetAllPostalStampRequestDetails() { this.Adapter.SelectCommand = this.CommandCollection[2]; InwardOutward.PostalStampPurchaseReqDataTable dataTable = new InwardOutward.PostalStampPurchaseReqDataTable(); this.Adapter.Fill(dataTable); return dataTable; }