public virtual int FillPage(MZOSTABLICEDataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.MZOSTABLICESet = dataSet; try { this.LoadChildMzostablice(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDMZOSTABLICE(MZOSTABLICEDataSet dataSet, int iDMZOSTABLICE) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.MZOSTABLICESet = dataSet; this.rowMZOSTABLICE = this.MZOSTABLICESet.MZOSTABLICE.NewMZOSTABLICERow(); this.rowMZOSTABLICE.IDMZOSTABLICE = iDMZOSTABLICE; try { this.LoadByIDMZOSTABLICE(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound134 == 0) { return(false); } return(true); }
public virtual int Fill(MZOSTABLICEDataSet 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.MZOSTABLICESet = dataSet; this.LoadChildMzostablice(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }