public virtual int FillPage(RAD1VEZASPOLDataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RAD1VEZASPOLSet = dataSet; try { this.LoadChildRad1vezaspol(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual int FillPageByRAD1SPOLID(RAD1VEZASPOLDataSet dataSet, int rAD1SPOLID, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RAD1VEZASPOLSet = dataSet; this.rowRAD1VEZASPOL = this.RAD1VEZASPOLSet.RAD1VEZASPOL.NewRAD1VEZASPOLRow(); this.rowRAD1VEZASPOL.RAD1SPOLID = rAD1SPOLID; try { this.LoadByRAD1SPOLID(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual int FillByIDSPOL(RAD1VEZASPOLDataSet dataSet, int iDSPOL) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RAD1VEZASPOLSet = dataSet; this.rowRAD1VEZASPOL = this.RAD1VEZASPOLSet.RAD1VEZASPOL.NewRAD1VEZASPOLRow(); this.rowRAD1VEZASPOL.IDSPOL = iDSPOL; try { this.LoadByIDSPOL(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByRAD1SPOLIDIDSPOL(RAD1VEZASPOLDataSet dataSet, int rAD1SPOLID, int iDSPOL) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RAD1VEZASPOLSet = dataSet; this.rowRAD1VEZASPOL = this.RAD1VEZASPOLSet.RAD1VEZASPOL.NewRAD1VEZASPOLRow(); this.rowRAD1VEZASPOL.RAD1SPOLID = rAD1SPOLID; this.rowRAD1VEZASPOL.IDSPOL = iDSPOL; try { this.LoadByRAD1SPOLIDIDSPOL(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound285 == 0) { return(false); } return(true); }
public virtual int Fill(RAD1VEZASPOLDataSet dataSet) { if (this.fillDataParameters != null) { this.Fill(dataSet, int.Parse(this.fillDataParameters[0].Value.ToString()), int.Parse(this.fillDataParameters[1].Value.ToString())); } else { try { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RAD1VEZASPOLSet = dataSet; this.LoadChildRad1vezaspol(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }