public virtual int FillPage(GODINEDataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.GODINESet = dataSet; try { this.LoadChildGodine(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDGODINE(GODINEDataSet dataSet, short iDGODINE) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.GODINESet = dataSet; this.rowGODINE = this.GODINESet.GODINE.NewGODINERow(); this.rowGODINE.IDGODINE = iDGODINE; try { this.LoadByIDGODINE(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound186 == 0) { return(false); } return(true); }
public virtual int Fill(GODINEDataSet dataSet) { if (this.fillDataParameters != null) { this.Fill(dataSet, short.Parse(this.fillDataParameters[0].Value.ToString())); } else { try { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.GODINESet = dataSet; this.LoadChildGodine(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }