public virtual int FillPage(RSVRSTEOBVEZNIKADataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RSVRSTEOBVEZNIKASet = dataSet; try { this.LoadChildRsvrsteobveznika(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDRSVRSTEOBVEZNIKA(RSVRSTEOBVEZNIKADataSet dataSet, string iDRSVRSTEOBVEZNIKA) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RSVRSTEOBVEZNIKASet = dataSet; this.rowRSVRSTEOBVEZNIKA = this.RSVRSTEOBVEZNIKASet.RSVRSTEOBVEZNIKA.NewRSVRSTEOBVEZNIKARow(); this.rowRSVRSTEOBVEZNIKA.IDRSVRSTEOBVEZNIKA = iDRSVRSTEOBVEZNIKA; try { this.LoadByIDRSVRSTEOBVEZNIKA(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound30 == 0) { return(false); } return(true); }
public virtual int Fill(RSVRSTEOBVEZNIKADataSet 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.RSVRSTEOBVEZNIKASet = dataSet; this.LoadChildRsvrsteobveznika(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }