메소드 | 설명 | |
---|---|---|
Constant ( |
Creates a SqlExpression which represents a constant typed value.
|
|
Constant ( SqlDataType dataType, object val ) : |
Creates a SqlExpression which represents a constant typed value
|
|
Date ( System.DateTime val ) : |
Creates a SqlExpression which represents a date value.
|
|
Field ( |
||
Field ( |
||
Field ( |
||
Field ( string fieldName ) : |
Creates a SqlExpression which represents a field in a database table.
|
|
Field ( string fieldName, |
Creates a SqlExpression which represents a field in a database table.
|
|
Function ( SqlAggregationFunction func, |
Creates a SqlExpression with an aggergation function
|
|
IfNull ( |
Creates a SqlExpression with IfNull function. Works as SQL Server's ISNULL() function. |
|
LikeExpressionParameter ( ) : |
||
LikeExpressionParameter ( |
||
LikeExpressionParameter ( string paramName ) : |
||
Null ( ) : |
Creates a SqlExpression representing a NULL value
|
|
Number ( double val ) : |
Creates a SqlExpression which represents a numeric value.
|
|
Number ( int val ) : |
Creates a SqlExpression which represents a numeric value.
|
|
Parameter ( ) : |
||
Parameter ( string paramName ) : |
Correct parameter name depends on your specifc data provider. OLEDB expects all parameters to be '?' and matches parameters to values based on their index. SQL Server Native driver matches parameters by names and expects to find "@paramName" parameter placeholder in the query. | |
PseudoField ( string fieldName ) : |
||
Raw ( string sql ) : |
Creates a SqlExpression with raw SQL
|
|
String ( string val ) : |
Creates a SqlExpression which represents a textual value.
|
|
SubQuery ( |
Creates a SqlExpression which represents a subquery.
|
|
SubQuery ( string queryText ) : |
Creates a SqlExpression which represents a subquery. In many cases you can use an inner or outer JOIN instead of a subquery. If you prefer using subqueries it is recomended that you construct the subquery using another instance of SelectQuery, render it using the correct renderer and pass the resulting SQL statement to the queryText parameter. |
메소드 | 설명 | |
---|---|---|
SqlExpression ( ) : System |
public static Constant ( |
||
val | SqlConstant instance | |
리턴 |
public static Constant ( SqlDataType dataType, object val ) : |
||
dataType | SqlDataType | Value's data type |
val | object | The value |
리턴 |
public static Date ( System.DateTime val ) : |
||
val | System.DateTime | Value of the expression |
리턴 |
public static Field ( |
||
fieldName | ||
리턴 |
public static Field ( |
||
firstPart | ||
secondPart | ||
table | ||
리턴 |
public static Field ( |
||
fieldName | ||
table | ||
리턴 |
public static Field ( string fieldName ) : |
||
fieldName | string | Name of a field |
리턴 |
public static Field ( string fieldName, |
||
fieldName | string | Name of a field |
table | The table this field belongs to | |
리턴 |
public static Function ( SqlAggregationFunction func, |
||
func | SqlAggregationFunction | Aggregation function to be applied on the supplied expression |
param | Parameter of the aggregation function | |
리턴 |
public static IfNull ( |
||
test | Expression to be checked for being NULL | |
val | Substitution | |
리턴 |
public static LikeExpressionParameter ( ) : |
||
리턴 |
public static LikeExpressionParameter ( |
||
paramName | ||
리턴 |
public static LikeExpressionParameter ( string paramName ) : |
||
paramName | string | |
리턴 |
public static Number ( double val ) : |
||
val | double | Value of the expression |
리턴 |
public static Number ( int val ) : |
||
val | int | Value of the expression |
리턴 |
public static Parameter ( string paramName ) : |
||
paramName | string | |
리턴 |
public static PseudoField ( string fieldName ) : |
||
fieldName | string | |
리턴 |
public static String ( string val ) : |
||
val | string | Value of the expression |
리턴 |
public static SubQuery ( |
||
query | A SelectQuery object | |
리턴 |
public static SubQuery ( string queryText ) : |
||
queryText | string | Text of the subquery. |
리턴 |