The SqlString type exposes the following members.

Constructors

  NameDescription
Public methodSqlString(array<Object>[]()[][])
Initializes a new instance of the SqlString class
Public methodSqlString(String)
Initializes a new instance of the SqlString class

Methods

  NameDescription
Public methodAppend(String)
Appends the string parameter to the end of the current SqlString to create a new SqlString object.
Public methodAppend(SqlString)
Appends the SqlString parameter to the end of the current SqlString to create a new SqlString object.
Public methodCompact
Compacts the SqlString into the fewest parts possible.
Public methodCopy
Make a copy of the SqlString, with new parameter references (Placeholders)
Public methodEndsWith
Determines whether the end of this instance matches the specified String.
Public methodEndsWithCaseInsensitive
Public methodEquals
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
Public methodGetParameterCount
Public methodGetParameters
Public methodGetSubselectString
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOfCaseInsensitive
Returns the index of the first occurrence of text, case-insensitive.
Public methodInsert(Int32, SqlString)
Public methodInsert(Int32, String)
Public methodLastIndexOfCaseInsensitive
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse
Parse SQL in sql and create a SqlString representing it.
Public methodReplace
Replaces all occurrences of a specified String in this instance, with another specified String .
Public methodSplit
Public methodStartsWithCaseInsensitive
Determines whether the beginning of this SqlString matches the specified System.String, using case-insensitive comparison.
Public methodSubstring(Int32)
Retrieves a substring from this instance. The substring starts at a specified character position.
Public methodSubstring(Int32, Int32)
Public methodSubstringStartingWithLast
Returns substring of this SqlString starting with the specified text. If the text is not found, returns an empty, not-null SqlString.
Public methodToString
Returns the SqlString in a string where it looks like SELECT col1, col2 FROM table WHERE col1 = ?
(Overrides Object..::..ToString()()()().)
Public methodTrim
Removes all occurrences of white space characters from the beginning and end of this instance.
Public methodVisit

Operators

  NameDescription
Public operatorStatic memberAddition

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.)

Fields

  NameDescription
Public fieldStatic memberEmpty

Properties

  NameDescription
Public propertyCount
Gets the number of SqlParts contained in this SqlString.
Public propertyLength
Public propertyParts

See Also