Also, any idea when we might have a new release?
private int mCount = 0;
public int CurrentCount{ get { return mCount; }}
public void FillAll(){ this.FillDataTable("SELECT * FROM MyTable"); mCount = this.Count;}
For the count, just grab what's in the CurrentCount property of the BO. Would that work?Bill
The reason I like having them as functions returning a count is so I can do something like this:
If BO.FillAll() > 0 Then 'Loop through the BO and do some processingEnd If
Otherwise it would be:BO.FillAllIf BO.Count > 0 Then 'Loop through the BO and do some processingEnd If
Granted, this isn't that much of a difference code wise. However, I've already replaced probably 100 or more of the second type of call with something like the first, and changed the corresponding sub to a function returning the count. It just makes for easier coding on my part if I do it the first way. I basically don't want to waste a day reversing what I did when it should just be fixed in the framework to allow function on PopulationDataSourceSettings.
Take care,Bill
We have already decided that we will reflect the functions as well in the next update. As for an exact date on the new release, I cannot give you one. We had initially hoped to get one out before Christmas, but we have added a phenominal amount of enhancements including VS 2008 support, so we have been slow to release until we have gone through a thorough QA cycle. So it will probably be January sometime that we publish the new update.