Пример #1
0
 public virtual dsSt.vStDataTable GetData()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     dsSt.vStDataTable dataTable = new dsSt.vStDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
Пример #2
0
 //[DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), HelpKeyword("vs.data.TableAdapter"), DataObjectMethod(DataObjectMethodType.Select, false)]
 public virtual dsSt.vStDataTable Get_Years(short Years)
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     this.Adapter.SelectCommand.Parameters[0].Value = Years;
     dsSt.vStDataTable dataTable = new dsSt.vStDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
Пример #3
0
 public virtual int Fill(dsSt.vStDataTable dataTable)
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     if (this.ClearBeforeFill)
     {
         dataTable.Clear();
     }
     return(this.Adapter.Fill(dataTable));
 }
Пример #4
0
 public virtual int Fill_Years(dsSt.vStDataTable dataTable, short Years)
 {
     this.Adapter.SelectCommand = this.CommandCollection[6];
     this.Adapter.SelectCommand.Parameters[0].Value = Years;
     if (this.ClearBeforeFill)
     {
         dataTable.Clear();
     }
     return(this.Adapter.Fill(dataTable));
 }
Пример #5
0
 public virtual dsSt.vStDataTable Get_PIDEncrypt(string PIDEncrypt)
 {
     this.Adapter.SelectCommand = this.CommandCollection[1];
     if (PIDEncrypt == null)
     {
         throw new ArgumentNullException("PIDEncrypt");
     }
     this.Adapter.SelectCommand.Parameters[0].Value = PIDEncrypt;
     dsSt.vStDataTable dataTable = new dsSt.vStDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
Пример #6
0
 public virtual int Fill_PID(dsSt.vStDataTable dataTable, string PID)
 {
     this.Adapter.SelectCommand = this.CommandCollection[5];
     if (PID == null)
     {
         throw new ArgumentNullException("PID");
     }
     this.Adapter.SelectCommand.Parameters[0].Value = PID;
     if (this.ClearBeforeFill)
     {
         dataTable.Clear();
     }
     return(this.Adapter.Fill(dataTable));
 }
Пример #7
0
 public virtual dsSt.vStDataTable Get_Guy(string Guy)
 {
     this.Adapter.SelectCommand = this.CommandCollection[4];
     if (Guy == null)
     {
         this.Adapter.SelectCommand.Parameters[0].Value = DBNull.Value;
     }
     else
     {
         this.Adapter.SelectCommand.Parameters[0].Value = Guy;
     }
     dsSt.vStDataTable dataTable = new dsSt.vStDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
Пример #8
0
 public virtual int Fill_Guy(dsSt.vStDataTable dataTable, string Guy)
 {
     this.Adapter.SelectCommand = this.CommandCollection[4];
     if (Guy == null)
     {
         this.Adapter.SelectCommand.Parameters[0].Value = DBNull.Value;
     }
     else
     {
         this.Adapter.SelectCommand.Parameters[0].Value = Guy;
     }
     if (this.ClearBeforeFill)
     {
         dataTable.Clear();
     }
     return(this.Adapter.Fill(dataTable));
 }
Пример #9
0
 public virtual int Update(dsSt.vStDataTable dataTable)
 {
     return(this.Adapter.Update(dataTable));
 }