Adds existing SqlStrings to this SqlStringBuilder

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

Syntax

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

Parameters

sqlStrings
Type: array< NHibernate.SqlCommand..::.SqlString >[]()[]
The SqlStrings to combine.
prefix
Type: System..::.String
String to put at the beginning of the combined SqlString.
op
Type: System..::.String
How these SqlStrings should be junctioned "AND" or "OR"
postfix
Type: System..::.String
String to put at the end of the combined SqlStrings.

Return Value

This SqlStringBuilder

Remarks

This calls the overloaded Add method with wrapStatement=true

See Also