The SqlStringBuilder type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | SqlStringBuilder()()()() |
Create an empty StringBuilder with the default capacity.
|
![]() | SqlStringBuilder(Int32) |
Create a StringBuilder with a specific capacity.
|
![]() | SqlStringBuilder(SqlString) |
Create a StringBuilder to modify the SqlString
|
Methods
Name | Description | |
---|---|---|
![]() | Add(String) |
Adds the preformatted sql to the SqlString that is being built.
|
![]() | Add(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.
|
![]() | Add(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.
|
![]() | Add(SqlString, String, String, String) |
Adds an existing SqlString to this SqlStringBuilder
|
![]() | Add(array<SqlString>[]()[][], String, String, String) |
Adds existing SqlStrings to this SqlStringBuilder
|
![]() | Add(array<SqlString>[]()[][], String, String, String, Boolean) |
Adds existing SqlStrings to this SqlStringBuilder
|
![]() | AddObject |
Attempts to discover what type of object this is and calls the appropriate
method.
|
![]() | AddParameter | |
![]() | Clear | |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Insert(Int32, Parameter) |
Insert a Parameter into the SqlStringBuilder at the specified index.
|
![]() | Insert(Int32, String) |
Insert a string containing sql into the SqlStringBuilder at the specified index.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RemoveAt |
Removes the string or Parameter at the specified index.
|
![]() | ToSqlString |
Converts the mutable SqlStringBuilder into the immutable SqlString.
|
![]() | ToString | (Overrides Object..::..ToString()()()().) |
Extension Methods
Name | Description | |
---|---|---|
![]() | As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) |
![]() | IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) |
![]() | IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) |
![]() | IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) |
![]() | IsProxy | (Defined by NHibernateProxyHelper.) |
![]() | ToTypeParameters | (Defined by ReflectHelper.) |
Properties
Name | Description | |
---|---|---|
![]() | Count |
Gets the number of SqlParts in this SqlStringBuilder.
|
![]() | Item |
Gets or Sets the element at the index
|