예제 #1
0
 public virtual Others.ColumnSetDataTable Get()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     Others.ColumnSetDataTable dataTable = new Others.ColumnSetDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
예제 #2
0
 public virtual int Fill(Others.ColumnSetDataTable dataTable)
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     if (this.ClearBeforeFill)
     {
         dataTable.Clear();
     }
     return(this.Adapter.Fill(dataTable));
 }
예제 #3
0
 public virtual Others.ColumnSetDataTable GetID(string ColumnID)
 {
     this.Adapter.SelectCommand = this.CommandCollection[2];
     if (ColumnID == null)
     {
         throw new ArgumentNullException("ColumnID");
     }
     this.Adapter.SelectCommand.Parameters[0].Value = ColumnID;
     Others.ColumnSetDataTable dataTable = new Others.ColumnSetDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
예제 #4
0
 public virtual int FillID(Others.ColumnSetDataTable dataTable, string ColumnID)
 {
     this.Adapter.SelectCommand = this.CommandCollection[2];
     if (ColumnID == null)
     {
         throw new ArgumentNullException("ColumnID");
     }
     this.Adapter.SelectCommand.Parameters[0].Value = ColumnID;
     if (this.ClearBeforeFill)
     {
         dataTable.Clear();
     }
     return(this.Adapter.Fill(dataTable));
 }