 | SphinxQLParameterCollectionAdd Method (Object) |
Namespace:
SphinxConnector.SphinxQL
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntax
Remarks
In previous versions, this method created a
SphinxQLParameter object
and assigned the
value parameter to the
Value property.
This behavior did not match other data providers. The
value parameter
should be an instance of
SphinxQLParameter. For backwards compatibility, the old behavior worked
in previous version, but has now been removed.
Until that point, this method will first check whether
value is an instance of
SphinxQLParameter, if it is, it will be added to the collection. If it is not,
a
SphinxQLParameter object will be created and
value
will be assigned to the
Value property of the newly created object. Also, a
warning will be logged in this case.
See Also