Ric,
>public DataSet GetVendors()
>{
> // Pass whatever parameters you need here, or call FillDataSet
> // if you have an existing ds you want to fill
> return this.GetDataSet();
>}
>
>
>So, sorry to be slow on the uptake, but it still seems to me that there is no way to have MM.NET use IDataAdapter.SelectCommand to fill a typed dataset. Both GetDataSet and FillDataSet require either an IDbCommand or a SQL statement in a string, and if you provide one of those, MM.NET will use that rather than IDataAdapter.SelectCommand to fill the typed dataset.
You're right that there is no overload of GetDataSet that has zero parameters--that's what I was referencing in my comment in the code below. If you want to run the default SELECT statement on your typed DataSet, you can pass it as a parameter to the GetDataSet() method. You can also pass other SQL statements in GetDataSet() and those would work too.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com