Adds an existing SqlString to this SqlStringBuilder

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

Syntax

Visual Basic (Declaration)
Public Function Add ( _
	sqlString As SqlString, _
	prefix As String, _
	op As String, _
	postfix As String _
) As SqlStringBuilder
C#
public SqlStringBuilder Add(
	SqlString sqlString,
	string prefix,
	string op,
	string postfix
)
Visual C++
public:
SqlStringBuilder^ Add(
	SqlString^ sqlString, 
	String^ prefix, 
	String^ op, 
	String^ postfix
)
JavaScript
function add(sqlString, prefix, op, postfix);

Parameters

sqlString
Type: NHibernate.SqlCommand..::.SqlString
The SqlString to add to this SqlStringBuilder
prefix
Type: System..::.String
String to put at the beginning of the combined SqlString.
op
Type: System..::.String
How these Statements should be junctioned "AND" or "OR"
postfix
Type: System..::.String
String to put at the end of the combined SqlString.

Return Value

This SqlStringBuilder

Remarks

This calls the overloaded Add method with an array of SqlStrings and wrapStatment=false so it will not be wrapped with a "(" and ")"

See Also