Ejemplo n.º 1
0
 public virtual int FillPage(RAD1MELEMENTIVEZADataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault          = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RAD1MELEMENTIVEZASet = dataSet;
     try
     {
         this.LoadChildRad1melementiveza(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Ejemplo n.º 2
0
 public virtual int FillPageByRAD1ELEMENTIID(RAD1MELEMENTIVEZADataSet dataSet, int rAD1ELEMENTIID, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault          = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RAD1MELEMENTIVEZASet = dataSet;
     this.rowRAD1MELEMENTIVEZA = this.RAD1MELEMENTIVEZASet.RAD1MELEMENTIVEZA.NewRAD1MELEMENTIVEZARow();
     this.rowRAD1MELEMENTIVEZA.RAD1ELEMENTIID = rAD1ELEMENTIID;
     try
     {
         this.LoadByRAD1ELEMENTIID(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Ejemplo n.º 3
0
 public virtual int FillByIDELEMENT(RAD1MELEMENTIVEZADataSet dataSet, int iDELEMENT)
 {
     this.InitializeMembers();
     this.connDefault                    = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RAD1MELEMENTIVEZASet           = dataSet;
     this.rowRAD1MELEMENTIVEZA           = this.RAD1MELEMENTIVEZASet.RAD1MELEMENTIVEZA.NewRAD1MELEMENTIVEZARow();
     this.rowRAD1MELEMENTIVEZA.IDELEMENT = iDELEMENT;
     try
     {
         this.LoadByIDELEMENT(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Ejemplo n.º 4
0
 public virtual bool FillByRAD1ELEMENTIIDIDELEMENT(RAD1MELEMENTIVEZADataSet dataSet, int rAD1ELEMENTIID, int iDELEMENT)
 {
     this.InitializeMembers();
     this.connDefault          = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RAD1MELEMENTIVEZASet = dataSet;
     this.rowRAD1MELEMENTIVEZA = this.RAD1MELEMENTIVEZASet.RAD1MELEMENTIVEZA.NewRAD1MELEMENTIVEZARow();
     this.rowRAD1MELEMENTIVEZA.RAD1ELEMENTIID = rAD1ELEMENTIID;
     this.rowRAD1MELEMENTIVEZA.IDELEMENT      = iDELEMENT;
     try
     {
         this.LoadByRAD1ELEMENTIIDIDELEMENT(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound287 == 0)
     {
         return(false);
     }
     return(true);
 }
Ejemplo n.º 5
0
 public virtual int Fill(RAD1MELEMENTIVEZADataSet 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.RAD1MELEMENTIVEZASet = dataSet;
             this.LoadChildRad1melementiveza(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }