Exemplo n.º 1
0
 public virtual int FillPage(IRAVRSTAIZNOSADataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault       = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.IRAVRSTAIZNOSASet = dataSet;
     try
     {
         this.LoadChildIravrstaiznosa(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Exemplo n.º 2
0
 public virtual bool FillByIDIRAVRSTAIZNOSA(IRAVRSTAIZNOSADataSet dataSet, int iDIRAVRSTAIZNOSA)
 {
     this.InitializeMembers();
     this.connDefault       = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.IRAVRSTAIZNOSASet = dataSet;
     this.rowIRAVRSTAIZNOSA = this.IRAVRSTAIZNOSASet.IRAVRSTAIZNOSA.NewIRAVRSTAIZNOSARow();
     this.rowIRAVRSTAIZNOSA.IDIRAVRSTAIZNOSA = iDIRAVRSTAIZNOSA;
     try
     {
         this.LoadByIDIRAVRSTAIZNOSA(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound219 == 0)
     {
         return(false);
     }
     return(true);
 }
Exemplo n.º 3
0
 public virtual int Fill(IRAVRSTAIZNOSADataSet 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.IRAVRSTAIZNOSASet = dataSet;
             this.LoadChildIravrstaiznosa(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }