The SqlStringBuilder type exposes the following members.

Constructors

  NameDescription
Public methodSqlStringBuilder()()()()
Create an empty StringBuilder with the default capacity.
Public methodSqlStringBuilder(Int32)
Create a StringBuilder with a specific capacity.
Public methodSqlStringBuilder(SqlString)
Create a StringBuilder to modify the SqlString

Methods

  NameDescription
Public methodAdd(String)
Adds the preformatted sql to the SqlString that is being built.
Public methodAdd(Parameter)
Adds the Parameter to the SqlString that is being built. The correct operator should be added before the Add(Parameter) is called because there will be no operator ( such as "=" ) placed between the last Add call and this Add call.
Public methodAdd(SqlString)
Adds an existing SqlString to this SqlStringBuilder. It does NOT add any prefix, postfix, operator, or wrap around this. It is equivalent to just adding a string.
Public methodAdd(SqlString, String, String, String)
Adds an existing SqlString to this SqlStringBuilder
Public methodAdd(array<SqlString>[]()[][], String, String, String)
Adds existing SqlStrings to this SqlStringBuilder
Public methodAdd(array<SqlString>[]()[][], String, String, String, Boolean)
Adds existing SqlStrings to this SqlStringBuilder
Public methodAddObject
Attempts to discover what type of object this is and calls the appropriate method.
Public methodAddParameter
Public methodClear
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert(Int32, Parameter)
Insert a Parameter into the SqlStringBuilder at the specified index.
Public methodInsert(Int32, String)
Insert a string containing sql into the SqlStringBuilder at the specified index.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveAt
Removes the string or Parameter at the specified index.
Public methodToSqlString
Converts the mutable SqlStringBuilder into the immutable SqlString.
Public methodToString (Overrides Object..::..ToString()()()().)

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

Properties

  NameDescription
Public propertyCount
Gets the number of SqlParts in this SqlStringBuilder.
Public propertyItem
Gets or Sets the element at the index

See Also