Пример #1
0
 public virtual int FillPage(RAD1GELEMENTIVEZADataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault          = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RAD1GELEMENTIVEZASet = dataSet;
     try
     {
         this.LoadChildRad1gelementiveza(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Пример #2
0
 public virtual int FillPageByRAD1GELEMENTIID(RAD1GELEMENTIVEZADataSet dataSet, int rAD1GELEMENTIID, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault          = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RAD1GELEMENTIVEZASet = dataSet;
     this.rowRAD1GELEMENTIVEZA = this.RAD1GELEMENTIVEZASet.RAD1GELEMENTIVEZA.NewRAD1GELEMENTIVEZARow();
     this.rowRAD1GELEMENTIVEZA.RAD1GELEMENTIID = rAD1GELEMENTIID;
     try
     {
         this.LoadByRAD1GELEMENTIID(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Пример #3
0
 public virtual int FillByIDELEMENT(RAD1GELEMENTIVEZADataSet dataSet, int iDELEMENT)
 {
     this.InitializeMembers();
     this.connDefault                    = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RAD1GELEMENTIVEZASet           = dataSet;
     this.rowRAD1GELEMENTIVEZA           = this.RAD1GELEMENTIVEZASet.RAD1GELEMENTIVEZA.NewRAD1GELEMENTIVEZARow();
     this.rowRAD1GELEMENTIVEZA.IDELEMENT = iDELEMENT;
     try
     {
         this.LoadByIDELEMENT(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Пример #4
0
 public virtual bool FillByRAD1GELEMENTIIDIDELEMENT(RAD1GELEMENTIVEZADataSet dataSet, int rAD1GELEMENTIID, int iDELEMENT)
 {
     this.InitializeMembers();
     this.connDefault          = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RAD1GELEMENTIVEZASet = dataSet;
     this.rowRAD1GELEMENTIVEZA = this.RAD1GELEMENTIVEZASet.RAD1GELEMENTIVEZA.NewRAD1GELEMENTIVEZARow();
     this.rowRAD1GELEMENTIVEZA.RAD1GELEMENTIID = rAD1GELEMENTIID;
     this.rowRAD1GELEMENTIVEZA.IDELEMENT       = iDELEMENT;
     try
     {
         this.LoadByRAD1GELEMENTIIDIDELEMENT(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound286 == 0)
     {
         return(false);
     }
     return(true);
 }
Пример #5
0
 public virtual int Fill(RAD1GELEMENTIVEZADataSet dataSet)
 {
     if (this.fillDataParameters != null)
     {
         this.Fill(dataSet, int.Parse(this.fillDataParameters[0].Value.ToString()), int.Parse(this.fillDataParameters[1].Value.ToString()));
     }
     else
     {
         try
         {
             this.InitializeMembers();
             this.connDefault          = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
             this.RAD1GELEMENTIVEZASet = dataSet;
             this.LoadChildRad1gelementiveza(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }