Execute a query directly in the database and returns the result collection.
Call the ExecuteQuery method to execute a auery directly in the database and obtain its result as a collection that implements the IEntityEnumerable interface. Supply the statement as a TSQLStatement class instance, which encapsulates the query text and its parameters. The TSQLStatement.Params array must contain all IN and OUT parameters defined in the query. For OUT parameters provide any values of valid types so that they are explicitly defined before call to the method.