예제 #1
0
 public virtual DataSet1.spGetTourVersionDataTable GetData()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     DataSet1.spGetTourVersionDataTable dataTable = new DataSet1.spGetTourVersionDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
예제 #2
0
        public virtual int Fill(DataSet1.spGetTourVersionDataTable dataTable)
        {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true))
            {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);

            return(returnValue);
        }