Adds an existing SqlString to this SqlStringBuilder

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

Syntax

C#
public SqlStringBuilder Add(
	SqlString sqlString,
	string prefix,
	string op,
	string postfix
)
Visual Basic
Public Function Add ( _
	sqlString As SqlString, _
	prefix As String, _
	op As String, _
	postfix As String _
) As SqlStringBuilder
Visual C++
public:
SqlStringBuilder^ Add(
	SqlString^ sqlString, 
	String^ prefix, 
	String^ op, 
	String^ 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