Returns the SqlString in a string where it looks like SELECT col1, col2 FROM table WHERE col1 = ?

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

Syntax

Visual Basic (Declaration)
Public Overrides Function ToString As String
C#
public override string ToString()
Visual C++
public:
virtual String^ ToString() override
JavaScript
function toString();

Return Value

A provider-neutral version of the CommandText

Remarks

The question mark is used as the indicator of a parameter because at this point we are not using the specific provider so we don't know how that provider wants our parameters formatted.

See Also