StrataFrame Forum

Execute Scalar

http://forum.strataframe.net/Topic32990.aspx

By Larry Caylor - 7/16/2015

How do you perform an Execute Scalar or Non Query directly on the Enterprise Server without going through a business object? I'm not clear on how to set the SQL command connection property.

-Larry
By Larry Caylor - 7/16/2015

OK I think I've got it figured out. If I call MicroFour.StrataFrame.Data.DataBasics.DataSource("").ExecuteScalar(sqlCmd) I'm assuming that framework will take care of routing the request through the ES serve or directly to the DB server depending on how the data source is configured.

-Larry