Modified ConstantParam syntax to use action vs func for consistency. Fixed a bug in ExecuteScalar not handling nulls correctly.