public virtual RECONDataSet.ExplainPLDataTable QtyITDGetDataByParams(System.DateTime Dte, string Account, string Cusip, string Symbol) { this.Adapter.SelectCommand = this.CommandCollection[5]; this.Adapter.SelectCommand.Parameters[0].Value = ((System.DateTime)(Dte)); if ((Account == null)) { throw new global::System.ArgumentNullException("Account"); } else { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Account)); } if ((Cusip == null)) { throw new global::System.ArgumentNullException("Cusip"); } else { this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Cusip)); } if ((Symbol == null)) { throw new global::System.ArgumentNullException("Symbol"); } else { this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Symbol)); } RECONDataSet.ExplainPLDataTable dataTable = new RECONDataSet.ExplainPLDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual RECONDataSet.ExplainPLDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; RECONDataSet.ExplainPLDataTable dataTable = new RECONDataSet.ExplainPLDataTable(); this.Adapter.Fill(dataTable); return dataTable; }