public virtual int FillPage(DDKOLONAIDDDataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.DDKOLONAIDDSet = dataSet; try { this.LoadChildDdkolonaidd(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDKOLONAIDD(DDKOLONAIDDDataSet dataSet, int iDKOLONAIDD) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.DDKOLONAIDDSet = dataSet; this.rowDDKOLONAIDD = this.DDKOLONAIDDSet.DDKOLONAIDD.NewDDKOLONAIDDRow(); this.rowDDKOLONAIDD.IDKOLONAIDD = iDKOLONAIDD; try { this.LoadByIDKOLONAIDD(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound164 == 0) { return(false); } return(true); }
public virtual int Fill(DDKOLONAIDDDataSet 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.DDKOLONAIDDSet = dataSet; this.LoadChildDdkolonaidd(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }