Adds existing SqlStrings to this SqlStringBuilder
Namespace: NHibernate.SqlCommandAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public SqlStringBuilder Add( SqlString[] sqlStrings, string prefix, string op, string postfix, bool wrapStatement ) |
| Visual Basic |
|---|
Public Function Add ( _ sqlStrings As SqlString(), _ prefix As String, _ op As String, _ postfix As String, _ wrapStatement As Boolean _ ) As SqlStringBuilder |
| Visual C++ |
|---|
public: SqlStringBuilder^ Add( array<SqlString^>^ sqlStrings, String^ prefix, String^ op, String^ postfix, bool wrapStatement ) |
Parameters
- sqlStrings
- Type: array<NHibernate.SqlCommand..::..SqlString>[]()[][]
The SqlStrings to combine.
- prefix
- Type: System..::..String
String to put at the beginning of the combined SqlStrings.
- 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.
- wrapStatement
- Type: System..::..Boolean
Wrap each SqlStrings with "(" and ")"