protected DataSet <SimpleModel> GetDataSet(int count, Action <SimpleModel> modelInitializer, bool createChildren = false) { return(SimpleModelBase.GetDataSet <SimpleModel>(count, x => x.Child, (dataSet, num) => AddRows(dataSet, num, modelInitializer), createChildren)); }
protected DataSet <SimpleModel> GetDataSet(int count, bool createChildren = true) { return(SimpleModelBase.GetDataSet <SimpleModel>(count, x => x.Child, AddRows, createChildren)); }