Show / Hide Table of Contents

Class Concat

Inheritance
object
QueryElement
Argument
Concat
Implements
ICloneable
Inherited Members
Argument.Equal(Argument)
Argument.UnEqual(Argument)
Argument.LessThan(Argument)
Argument.LessThanOrEqual(Argument)
Argument.GreaterThan(Argument)
Argument.GreaterThanOrEqual(Argument)
Argument.Like(Argument)
Argument.Like(string)
Argument.NotLike(Argument)
Argument.NotBetween(Argument, Argument)
Argument.Between(Argument, Argument)
Argument.In(params Argument[])
Argument.HasAny(params Argument[])
Argument.HasAll(params Argument[])
Argument.MissingAny(params Argument[])
Argument.MissingAll(params Argument[])
Argument.IsNull()
Argument.IsNotNull()
Argument.NotIn(params Argument[])
Argument.HasFlag(Argument)
Argument.HasNoFlag(Argument)
Argument.ToArgumentArray<T>(T[])
Argument.ToArgumentArray<T>(T[], bool)
Argument.GetSubElements()
Argument.Alias
Argument.DataType
Argument.Size
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Data.SQL
Assembly: SoDataBase.dll
Syntax
public class Concat : Argument, ICloneable

Constructors

Concat(params Argument[])

Default constructor that initializes a new instance of the Concat class.

Declaration
public Concat(params Argument[] args)
Parameters
Type Name Description
Argument[] args

The objects we are dealing with. Might be FieldInfo or Argument instances.

Fields

_args

Declaration
protected Argument[] _args
Field Value
Type Description
Argument[]

Properties

Arguments

Get the arguments we are dealing with - a field or a value.

Declaration
public Argument[] Arguments { get; }
Property Value
Type Description
Argument[]

Methods

Clone()

Creates a copy of the query elements, but shares parameter values with the original, so it is not a complete copy.

Declaration
public override object Clone()
Returns
Type Description
object

Copy of all the restrictions/joins

Overrides
QueryElement.Clone()
Remarks

This method is used by the SentryQueryUpdater to modify a query with sentry extensions without affecting the original query.

GetMainField()

Returns information about a database field.

Declaration
public override FieldInfo GetMainField()
Returns
Type Description
FieldInfo
Overrides
Argument.GetMainField()

GetReferencedFields()

Enumerate every FieldInfo referenced inside this argument, recursively.

Declaration
public override IEnumerable<FieldInfo> GetReferencedFields()
Returns
Type Description
IEnumerable<FieldInfo>
Overrides
Argument.GetReferencedFields()
Remarks

Used by Select.GetTableInfos to anchor joins for compound arguments (CASE, CONCAT, math, aggregations, function calls) that wrap fields from multiple tables. Unlike GetMainField(), which returns at most one representative field, this enumerates them all so every referenced table is discovered.

Implements

ICloneable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top