Compacts the SqlString into the fewest parts possible.

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

Syntax

C#
public SqlString Compact()
Visual Basic
Public Function Compact As SqlString
Visual C++
public:
SqlString^ Compact()

Return Value

A new SqlString.

Remarks

Combines all SqlParts that are strings and next to each other into one SqlPart.

See Also