Click or drag to resize

QueryFragments Class

Class which is used to specify separate query fragments in one container which is then usable to produce a single query string. The delimiter is added as a fragment when a fragment is added.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesQueryFragments

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public class QueryFragments

The QueryFragments type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAppendDanglingDelimiter
Gets or sets a value indicating whether a dangling delimiter has to be appended to the result string. False by default.
Public propertyCount
Gets the number of elements added to this object.
Public propertyPrefix
Gets or sets the prefix for the string to produce from this object
Public propertySuffix
Gets or sets the suffix for the string to produce from this object
Top
Methods
  NameDescription
Public methodAddCommaDelimitedQueryFragments(Boolean, Int32)
Adds a new Comma delimited query fragments object
Public methodAddCommaDelimitedQueryFragments(Boolean, Boolean, Int32)
Adds a new Comma delimited query fragments object
Public methodAddDelimitedQueryFragments
Adds a new delimited QueryFragments with the delimiter specified
Public methodAddExistingQueryFragments
Adds the existing query fragments specified to this query fragments
Public methodAddFormatted
Adds a formatted string, build from the format string and the arguments specified
Public methodAddFragment
Adds the fragment specified to this object
Public methodAddFragments
Adds the fragments specified in the same order to this object
Public methodAddPlaceHolder
Adds a new string place holder.
Public methodAddQueryFragments
Adds a new query fragments object with default parameters (space delimited, no pre/suffix)
Public methodAddSemiColonDelimitedQueryFragments(Boolean)
Adds a new semi colon delimited fragments object.
Public methodAddSemiColonDelimitedQueryFragments(Boolean, Boolean)
Adds a new semi colon delimited fragments object
Public methodAddStringFragmentsAsSingleUnit
Adds the string fragments specified as single unit, so they will be added without the delimiter between them.
Public methodAddStringFragmentWithoutDelimiter
Adds the string fragment in such a way that no delimiter is emitted before it.
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 the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetCapacity
Sets the capacity of the internal container. The initial capacity is by default set to 0, unless explicity specified.
Public methodSetPrefixSuffix
Sets the prefix and suffix.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
See Also