コード例 #1
0
 public virtual int FillPage(PLVRSTEIZNOSADataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.PLVRSTEIZNOSASet = dataSet;
     try
     {
         this.LoadChildPlvrsteiznosa(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
コード例 #2
0
 public virtual bool FillByIDPLVRSTEIZNOSA(PLVRSTEIZNOSADataSet dataSet, int iDPLVRSTEIZNOSA)
 {
     this.InitializeMembers();
     this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.PLVRSTEIZNOSASet = dataSet;
     this.rowPLVRSTEIZNOSA = this.PLVRSTEIZNOSASet.PLVRSTEIZNOSA.NewPLVRSTEIZNOSARow();
     this.rowPLVRSTEIZNOSA.IDPLVRSTEIZNOSA = iDPLVRSTEIZNOSA;
     try
     {
         this.LoadByIDPLVRSTEIZNOSA(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound228 == 0)
     {
         return(false);
     }
     return(true);
 }
コード例 #3
0
 public virtual int Fill(PLVRSTEIZNOSADataSet dataSet)
 {
     if (this.fillDataParameters != null)
     {
         this.Fill(dataSet, int.Parse(this.fillDataParameters[0].Value.ToString()));
     }
     else
     {
         try
         {
             this.InitializeMembers();
             this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
             this.PLVRSTEIZNOSASet = dataSet;
             this.LoadChildPlvrsteiznosa(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }