Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
None.
Inherited By:
None.
Purpose:
This class is a memory management surrogate for TSQLParameter. Commands can have parameterized values that are replaced by native SQL constants at execution time.
Instantiation:
Always allocate on the stack.
Deriving Classes:
None.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
Other Considerations:
None.
- TSQLParameterHandle ()
- TSQLParameterHandle (const TSQLParameterHandle & source)
- TSQLParameterHandle (TSQLParameter & source)
Interface Category:
API.
Purpose:
- Default constructor.
- Copy constructor.
- Instantiates and initializes an object.
Calling Context:
- Called by the stream-in operators and any other function that needs to construct an uninitialized object.
- Called to copy an object.
- Called to instantiate and initialize an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual ~ TSQLParameterHandle ()
Interface Category:
API.
Purpose:
Destructor.
Calling Context:
Called to destroy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
- TSQLParameterHandle & operator =(const TSQLParameterHandle & right)
- TSQLParameterHandle & operator =(const int)
- TSQLParameterHandle & operator =(const short)
- TSQLParameterHandle & operator =(const long)
- TSQLParameterHandle & operator =(const double)
- TSQLParameterHandle & operator =(const TText &)
- TSQLParameterHandle & operator =(const TTime &)
- TSQLParameterHandle & operator =(const TSQLTime &)
- TSQLParameterHandle & operator =(const TSQLDate &)
- TSQLParameterHandle & operator =(const TSQLTimestamp &)
Interface Category:
API.
Purpose:
- Assignment operator.
- Assignment operator.
- Assignment operator.
- Assignment operator.
- Assignment operator.
- Assignment operator.
- Assignment operator.
- Assignment operator.
- Assignment operator.
- Assignment operator.
Calling Context:
- Called when an object is assigned to another compatible object.
- Called when an object is assigned to another compatible object.
- Called when an object is assigned to another compatible object.
- Called when an object is assigned to another compatible object.
- Called when an object is assigned to another compatible object.
- Called when an object is assigned to another compatible object.
- Called when an object is assigned to another compatible object.
- Called when an object is assigned to another compatible object.
- Called when an object is assigned to another compatible object.
- Called when an object is assigned to another compatible object.
Parameters:
- const TSQLParameter & right -The object to assign.
- const int -The integer value to assign.
- const short -The short value to assign.
- const long -The long value to assign.
- const double -The double value to assign.
- const TText & -The text to assign.
- const TTime & -The time to assign.
- const TSQLTime & -The SQL time to assign.
- const TSQLDate & -The SQL date to assign.
- const TSQLTimestamp & -The SQL time stamp to assign.
Return Value:
A non-const reference to the left-hand side object.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void MakeNull ()
Interface Category:
API.
Purpose:
Assigns the Null value to the associated parameter.
Calling Context:
Call this function directly.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.