Eric,
You can also set that differently at the specific business object if you have one that needs to use different command type than the application default. Then if you want to use say Stored Procedures but have just one method where you want to use a command string you can use one of the overloads like this.
return this.GetEntityList("SELECT * FROM Customer", CommandType.Text);
Gives you lots of options
Tim
>Is this what you're looking for?
>
>
>
>public ABusinessObject()
> {
> this.DatabaseKey = "DBName";
> this.RetrieveAutoIncrementPK = true;
> this.DefaultCommandType = CommandType.StoredProcedure;
> this.AutoSaveOnParentSaved = true;
> }
>
>
>>I must have something not set quite right. When I invoke any entity's loadRow() method, it's failing. Digging into it, the method appears to build a perfect command string for what I need, but then when it calls loadDataSet() its sends the CommandType parameter as a StoredProcedure, rather than a command. Where's the setting to say that it's not a stored procedure?
>>
>>Thanks,
>>
>>Eric
Timothy Bryan