public virtual int FillPage(TIPIZNOSADataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.TIPIZNOSASet = dataSet; try { this.LoadChildTipiznosa(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDTIPAIZNOSA(TIPIZNOSADataSet dataSet, int iDTIPAIZNOSA) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.TIPIZNOSASet = dataSet; this.rowTIPIZNOSA = this.TIPIZNOSASet.TIPIZNOSA.NewTIPIZNOSARow(); this.rowTIPIZNOSA.IDTIPAIZNOSA = iDTIPAIZNOSA; try { this.LoadByIDTIPAIZNOSA(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound36 == 0) { return(false); } return(true); }
public virtual int Fill(TIPIZNOSADataSet 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.TIPIZNOSASet = dataSet; this.LoadChildTipiznosa(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }