Attempts to discover what type of object this is and calls the appropriate
method.
Namespace:
NHibernate.SqlCommandAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function AddObject ( _ part As Object _ ) As SqlStringBuilder |
C# |
---|
public SqlStringBuilder AddObject( Object part ) |
Visual C++ |
---|
public: SqlStringBuilder^ AddObject( Object^ part ) |
JavaScript |
---|
function addObject(part); |
Parameters
- part
- Type: System..::.Object
The part to add when it is not known if it is a Parameter, String, or SqlString.
Return Value
This SqlStringBuilder.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | Thrown when the part is not a Parameter, String, or SqlString. |