예제 #1
0
 public virtual int FillPage(MZOSTABLICEDataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault    = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.MZOSTABLICESet = dataSet;
     try
     {
         this.LoadChildMzostablice(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
예제 #2
0
 public virtual bool FillByIDMZOSTABLICE(MZOSTABLICEDataSet dataSet, int iDMZOSTABLICE)
 {
     this.InitializeMembers();
     this.connDefault    = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.MZOSTABLICESet = dataSet;
     this.rowMZOSTABLICE = this.MZOSTABLICESet.MZOSTABLICE.NewMZOSTABLICERow();
     this.rowMZOSTABLICE.IDMZOSTABLICE = iDMZOSTABLICE;
     try
     {
         this.LoadByIDMZOSTABLICE(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound134 == 0)
     {
         return(false);
     }
     return(true);
 }
예제 #3
0
 public virtual int Fill(MZOSTABLICEDataSet 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.MZOSTABLICESet = dataSet;
             this.LoadChildMzostablice(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }