Attempts to discover what type of object this is and calls the appropriate method.

Namespace: NHibernate.SqlCommand
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public SqlStringBuilder AddObject(
	Object part
)
Visual Basic
Public Function AddObject ( _
	part As Object _
) As SqlStringBuilder
Visual C++
public:
SqlStringBuilder^ AddObject(
	Object^ 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

ExceptionCondition
System..::..ArgumentExceptionThrown when the part is not a Parameter, String, or SqlString.

See Also