public virtual int FillPage(OSDOKUMENTDataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.OSDOKUMENTSet = dataSet; try { this.LoadChildOsdokument(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDOSDOKUMENT(OSDOKUMENTDataSet dataSet, int iDOSDOKUMENT) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.OSDOKUMENTSet = dataSet; this.rowOSDOKUMENT = this.OSDOKUMENTSet.OSDOKUMENT.NewOSDOKUMENTRow(); this.rowOSDOKUMENT.IDOSDOKUMENT = iDOSDOKUMENT; try { this.LoadByIDOSDOKUMENT(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound273 == 0) { return(false); } return(true); }
public virtual int Fill(OSDOKUMENTDataSet 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.OSDOKUMENTSet = dataSet; this.LoadChildOsdokument(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }