public virtual pdf_download.pdf_downloadDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; pdf_download.pdf_downloadDataTable dataTable = new pdf_download.pdf_downloadDataTable(); this.Adapter.Fill(dataTable); return(dataTable); }
public virtual int Fill(pdf_download.pdf_downloadDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return(returnValue); }