Method | Description | |
---|---|---|
As ( string alias ) : |
Privides the Ability to Alias a column name
|
|
Avg ( ) : |
Aggregate Avg. See tgQuerySubOperatorType Enumeration.
|
|
Between ( object start, object end ) : |
Comparison ensuring that this column is BETWEEN two values. See tgComparisonOperand Enumeration.
|
|
Case ( ) : |
||
Cast ( tgCastType castType ) : |
Cast informs the DataProviders that a SQL CAST operation is needed. In C# you can cast with the overloaded cast operators, like this: (tgString)query.Age |
|
Cast ( tgCastType castType, int length ) : |
Cast informs the DataProviders that a SQL CAST operation is needed. This overloaded version of Cast is useful for Casting variable length character columns In C# you can cast with the overloaded cast operators, like this: (tgString)query.Age |
|
Cast ( tgCastType castType, int precision, int scale ) : |
Cast informs the DataProviders that a SQL CAST operation is needed. This overloaded version of Cast is useful for Casting decimal types In C# you can cast with the overloaded cast operators, like this: (tgString)query.Age |
|
Coalesce ( string expresssions ) : |
This can be used to return the first non null parameter. The code below will return "Smith" is the LastName column in the database is null. |
|
Contains ( object value ) : |
Contains is used to search columns containing character-based data types for precise or fuzzy (less precise) matches to single words and phrases. The column must have a Full Text index. See CONTAINS in the SQL server MSDN docs for a full explanation of supported search terms and how to enable Full Text searching at the database, table, and column levels. |
|
Count ( ) : |
Aggregate Count. See tgQuerySubOperatorType Enumeration.
|
|
Date ( ) : |
Returns the Date only portion of a date columm
|
|
DatePart ( string datePart ) : |
Returns a particular date part of a date column
|
|
Distinct ( ) : |
Set to true for (DISTINCT columnName).
|
|
GetHashCode ( ) : int |
Required due to operator overloading.
|
|
In ( ) : |
Comparison ensuring that this column is IN a list of values. See tgComparisonOperand Enumeration.
|
|
In ( tgDynamicQuerySerializable subQuery ) : |
Comparison ensuring that this column is IN a list of values.
|
|
IsNotNull ( ) : |
Comparison ensuring that this column is NOT NULL. See tgComparisonOperand Enumeration.
|
|
IsNull ( ) : |
Comparison ensuring that this column is NULL. See tgComparisonOperand Enumeration.
|
|
LTrim ( ) : |
Performs a Left Trim (remove blanks) on the column
|
|
Length ( ) : |
Returns the length of a character based column
|
|
Like ( object value ) : |
Comparison ensuring that the value passed in is LIKE this column. See tgComparisonOperand Enumeration.
|
|
Like ( object value, char escapeCharacter ) : |
Comparison ensuring that the value passed in is LIKE this column. This overload takes a single escape character. See tgComparisonOperand Enumeration.
|
|
Max ( ) : |
Aggregate Max. See tgQuerySubOperatorType Enumeration.
|
|
Min ( ) : |
Aggregate Min. See tgQuerySubOperatorType Enumeration.
|
|
NotIn ( ) : |
Comparison ensuring that this column is NOT IN a list of values. See tgComparisonOperand Enumeration.
|
|
NotIn ( tgDynamicQuerySerializable subQuery ) : |
Comparison ensuring that this column is NOT IN a list of values.
|
|
NotLike ( object value ) : |
Comparison ensuring that the value passed in is NOT LIKE this column. See tgComparisonOperand Enumeration.
|
|
NotLike ( object value, char escapeCharacter ) : |
Comparison ensuring that the value passed in is NOT LIKE this column. This overload takes a single escape character. See tgComparisonOperand Enumeration.
|
|
OP ( tgComparisonOperand op ) : |
Where parameter operand creation is called by DynamicQuery. See tgComparisonOperand Enumeration.
|
|
OP ( tgComparisonOperand op, object value ) : |
Where parameter operand creation is called by DynamicQuery. See tgComparisonOperand Enumeration.
|
|
OP ( tgComparisonOperand op, object value1, object value2 ) : |
Where parameter operand creation is called by DynamicQuery. See tgComparisonOperand Enumeration.
|
|
RTrim ( ) : |
Performs a Right Trim (remove blanks) on the column
|
|
Round ( int significantDigits ) : |
Performs a round on the column
|
|
StdDev ( ) : |
Aggregate StdDev. See tgQuerySubOperatorType Enumeration.
|
|
Substring ( System length ) : |
Returns a portion of the string column
|
|
Substring ( System start, System length ) : |
Returns a portion of the string column
|
|
Substring ( int length ) : |
Returns a portion of the string column
|
|
Substring ( int start, int length ) : |
Returns a portion of the string column
|
|
Sum ( ) : |
Aggregate Sum. See tgQuerySubOperatorType Enumeration.
|
|
ToLower ( ) : |
Returns the column in LOWER CASE
|
|
ToString ( ) : string |
ToString() (to use in GroupBy/OrderBy and such ....)
|
|
ToUpper ( ) : |
Returns the column in UPPER CASE
|
|
Trim ( ) : |
Removes blanks from the beginning and end of the column
|
|
Var ( ) : |
Aggregate Var. See tgQuerySubOperatorType Enumeration.
|
|
operator ( ) : |
||
operator ( ) : |
||
tgQueryItem ( tgDynamicQuerySerializable query, string columnName, tgSystemType datatype ) : System |
The tgQueryItem class is dynamically created by your BusinessEntity's DynamicQuery mechanism.
|
Method | Description | |
---|---|---|
AddOperator ( |
||
AddSubOperator ( |
||
CreateComparisonParameter ( tgComparisonOperand operand ) : |
||
CreateComparisonParameter ( tgComparisonOperand operand, object value ) : |
||
DivideOperator ( |
||
Equal ( object value ) : |
||
EqualOperator ( |
||
Equals ( object o ) : bool | ||
GreaterThan ( object value ) : |
||
GreaterThan ( |
||
GreaterThanOrEqual ( object value ) : |
||
GreaterThanOrEqual ( |
||
LessThan ( object value ) : |
||
LessThan ( |
||
LessThanOrEqual ( object value ) : |
||
LessThanOrEqual ( |
||
ModuloOperator ( |
||
MultiplyOperator ( |
||
NotEqual ( object value ) : |
||
NotEqualOperator ( |
||
SubtractOperator ( |
||
tgQueryItem ( ) : System |
public As ( string alias ) : |
||
alias | string | The Alias Name |
return |
public Between ( object start, object end ) : |
||
start | object | The starting value for comparison. |
end | object | The ending value for comparison. |
return |
public Cast ( tgCastType castType ) : |
||
castType | tgCastType | The type of cast needed |
return |
public Cast ( tgCastType castType, int length ) : |
||
castType | tgCastType | The type of cast needed |
length | int | |
return |
public Cast ( tgCastType castType, int precision, int scale ) : |
||
castType | tgCastType | The type of cast needed |
precision | int | |
scale | int | |
return |
public Coalesce ( string expresssions ) : |
||
expresssions | string | The value to return if null |
return |
public Contains ( object value ) : |
||
value | object | The value for comparison. |
return |
public DatePart ( string datePart ) : |
||
datePart | string | |
return |
public In ( tgDynamicQuerySerializable subQuery ) : |
||
subQuery | tgDynamicQuerySerializable | |
return |
public Like ( object value ) : |
||
value | object | The value for comparison. |
return |
public Like ( object value, char escapeCharacter ) : |
||
value | object | The value for comparison. |
escapeCharacter | char | The single escape character. |
return |
public NotIn ( tgDynamicQuerySerializable subQuery ) : |
||
subQuery | tgDynamicQuerySerializable | |
return |
public NotLike ( object value ) : |
||
value | object | The value for comparison. |
return |
public NotLike ( object value, char escapeCharacter ) : |
||
value | object | The value for comparison. |
escapeCharacter | char | The single escape character. |
return |
public OP ( tgComparisonOperand op ) : |
||
op | tgComparisonOperand | E.g., tgComparisonOperand.IsNotNull |
return |
public OP ( tgComparisonOperand op, object value ) : |
||
op | tgComparisonOperand | E.g., tgComparisonOperand.IsNotNull |
value | object | The value for this comparison |
return |
public OP ( tgComparisonOperand op, object value1, object value2 ) : |
||
op | tgComparisonOperand | E.g., tgComparisonOperand.Between |
value1 | object | The first value for this comparison |
value2 | object | The second value for this comparison |
return |
public Round ( int significantDigits ) : |
||
significantDigits | int | Round to the number of significant digits |
return |
public Substring ( System length ) : |
||
length | System | How many characters to return |
return |
public Substring ( System start, System length ) : |
||
start | System | The starting character |
length | System | How many characters to return |
return |
public Substring ( int length ) : |
||
length | int | How many characters to return |
return |
public Substring ( int start, int length ) : |
||
start | int | The starting character |
length | int | How many characters to return |
return |
public tgQueryItem ( tgDynamicQuerySerializable query, string columnName, tgSystemType datatype ) : System | ||
query | tgDynamicQuerySerializable | The esDynamicQueryTransport passed in via DynamicQuery |
columnName | string | The columnName passed in via DynamicQuery |
datatype | tgSystemType | The tgSystemType |
return | System |