public virtual nwindDataSet.OrderDetailsDataTable GetData()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     nwindDataSet.OrderDetailsDataTable dataTable = new nwindDataSet.OrderDetailsDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
 public virtual nwindDataSet.OrderDetailsDataTable GetData(int ordId)
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     this.Adapter.SelectCommand.Parameters[0].Value = ((int)(ordId));
     nwindDataSet.OrderDetailsDataTable dataTable = new nwindDataSet.OrderDetailsDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
        public virtual int Fill(nwindDataSet.OrderDetailsDataTable dataTable)
        {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true))
            {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);

            return(returnValue);
        }
        public virtual int Fill(nwindDataSet.OrderDetailsDataTable dataTable, int ordId)
        {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(ordId));
            if ((this.ClearBeforeFill == true))
            {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);

            return(returnValue);
        }