Hi, I'm using a method in the EnterpriseLibrary.Data.Database namespace called
public virtual object ExecuteScalar(DbCommand command)
I'm wanting to use this method to execute a scalar-valued function. However the I'm not sure how to even create the DbCommand.
Could someone please tell me how to create it because it won't let me instantiate it.
Thanks!