Пример #1
0
 public virtual int FillPage(DDVRSTEIZNOSADataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.DDVRSTEIZNOSASet = dataSet;
     try
     {
         this.LoadChildDdvrsteiznosa(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Пример #2
0
 public virtual bool FillByIDDDVRSTEIZNOSA(DDVRSTEIZNOSADataSet dataSet, int iDDDVRSTEIZNOSA)
 {
     this.InitializeMembers();
     this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.DDVRSTEIZNOSASet = dataSet;
     this.rowDDVRSTEIZNOSA = this.DDVRSTEIZNOSASet.DDVRSTEIZNOSA.NewDDVRSTEIZNOSARow();
     this.rowDDVRSTEIZNOSA.IDDDVRSTEIZNOSA = iDDDVRSTEIZNOSA;
     try
     {
         this.LoadByIDDDVRSTEIZNOSA(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound242 == 0)
     {
         return(false);
     }
     return(true);
 }
Пример #3
0
 public virtual int Fill(DDVRSTEIZNOSADataSet 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.DDVRSTEIZNOSASet = dataSet;
             this.LoadChildDdvrsteiznosa(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }