Create a Query for execution, using internal structure.
If ExpressionValueParameter object is used for values, then a PreparedQuery is returned with the given name.