public virtual int FillPage(OPCINADataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.OPCINASet = dataSet; try { this.LoadChildOpcina(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDOPCINE(OPCINADataSet dataSet, string iDOPCINE) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.OPCINASet = dataSet; this.rowOPCINA = this.OPCINASet.OPCINA.NewOPCINARow(); this.rowOPCINA.IDOPCINE = iDOPCINE; try { this.LoadByIDOPCINE(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound16 == 0) { return(false); } return(true); }
public virtual int Fill(OPCINADataSet dataSet) { if (this.fillDataParameters != null) { this.Fill(dataSet, this.fillDataParameters[0].Value.ToString()); } else { try { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.OPCINASet = dataSet; this.LoadChildOpcina(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }