public virtual int FillPage(URAVRSTAIZNOSADataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.URAVRSTAIZNOSASet = dataSet; try { this.LoadChildUravrstaiznosa(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDURAVRSTAIZNOSA(URAVRSTAIZNOSADataSet dataSet, int iDURAVRSTAIZNOSA) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.URAVRSTAIZNOSASet = dataSet; this.rowURAVRSTAIZNOSA = this.URAVRSTAIZNOSASet.URAVRSTAIZNOSA.NewURAVRSTAIZNOSARow(); this.rowURAVRSTAIZNOSA.IDURAVRSTAIZNOSA = iDURAVRSTAIZNOSA; try { this.LoadByIDURAVRSTAIZNOSA(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound217 == 0) { return(false); } return(true); }
public virtual int Fill(URAVRSTAIZNOSADataSet 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.URAVRSTAIZNOSASet = dataSet; this.LoadChildUravrstaiznosa(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }