SphinxQLParameter Class

Represents a parameter to a SphinxQLCommand. This class cannot be inherited.

Definition

Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public sealed class SphinxQLParameter : DbParameter, 
	ICloneable
Inheritance
Object    MarshalByRefObject    DbParameter    SphinxQLParameter
Implements
ICloneable

Constructors

SphinxQLParameter Initializes a new instance of the SphinxQLParameter class.
SphinxQLParameter(String, SphinxType) Initializes a new instance of the SphinxQLParameter class.
SphinxQLParameter(String, Object) Initializes a new instance of the SphinxQLParameter class.
SphinxQLParameter(String, Object, SphinxType) Initializes a new instance of the SphinxQLParameter class.

Properties

DbType Gets or sets the DbType of the parameter.
(Overrides DbParameterDbType)
Direction Gets or sets a value that indicates whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter. Not supported by Sphinx. All parameters are assumed to be input parameters
(Overrides DbParameterDirection)
IsNullable Gets or sets a value that indicates whether the parameter accepts null values.
(Overrides DbParameter.IsNullable)
ParameterName Gets or sets the name of the SphinxQLParameter.
(Overrides DbParameterParameterName)
PrecisionGets or sets the maximum number of digits used to represent the Value property.
(Inherited from DbParameter)
ScaleGets or sets the number of decimal places to which Value is resolved.
(Inherited from DbParameter)
Size Gets or sets the maximum size, in bytes, of the data within the column.
(Overrides DbParameterSize)
SourceColumn Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value.
(Overrides DbParameterSourceColumn)
SourceColumnNullMapping Gets or sets a value which indicates whether the source column is nullable. This allows DbCommandBuilder to correctly generate Update statements for nullable columns.
(Overrides DbParameterSourceColumnNullMapping)
SourceVersion Gets or sets the DataRowVersion to use when you load Value.
(Overrides DbParameterSourceVersion)
SphinxType Gets or sets the SphinxType of this instance. Default is String.
Value Gets or sets the value of the parameter. Default is null.
(Overrides DbParameterValue)

Methods

Clone Creates a clone of this intance.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Obsolete
GetTypeGets the Type of the current instance.
(Inherited from Object)
InitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Obsolete
ResetDbType Resets the DbType property to its original settings.
(Overrides DbParameterResetDbType)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Explicit Interface Implementations

ICloneableCloneCreates a new object that is a copy of the current instance.
IDbDataParameterPrecisionIndicates the precision of numeric parameters.
(Inherited from DbParameter)
IDbDataParameterScaleFor a description of this member, see Scale.
(Inherited from DbParameter)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also