GetScalar now accepts SqlCommand as well as raw sql