Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public virtual DataSet.TitleDataTable GetData() {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     DataSet.TitleDataTable dataTable = new DataSet.TitleDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }