public virtual DataSet.TitleDataTable GetDataById(long Id) { this.Adapter.SelectCommand = this.CommandCollection[2]; this.Adapter.SelectCommand.Parameters[0].Value = ((long)(Id)); DataSet.TitleDataTable dataTable = new DataSet.TitleDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual DataSet.TitleDataTable GetDataByName(string Name) { this.Adapter.SelectCommand = this.CommandCollection[3]; if ((Name == null)) { throw new global::System.ArgumentNullException("Name"); } else { this.Adapter.SelectCommand.Parameters[0].Value = ((string)(Name)); } DataSet.TitleDataTable dataTable = new DataSet.TitleDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual DataSet.TitleDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet.TitleDataTable dataTable = new DataSet.TitleDataTable(); this.Adapter.Fill(dataTable); return dataTable; }