Class Sql.SqlExtension
Inheritance
System.Object
Sql.SqlExtension
Assembly: linq2db.dll
Syntax
public class SqlExtension : object
Constructors
|
Improve this Doc
View Source
SqlExtension(Nullable<Type>, String, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Nullable<Boolean>, Sql.SqlExtensionParam[])
Declaration
public SqlExtension(Type? systemType, string expr, int precedence, int chainPrecedence, bool isAggregate, bool isWindowFunction, bool isPure, bool isPredicate, bool? canBeNull, params Sql.SqlExtensionParam[] parameters)
Parameters
Type |
Name |
Description |
System.Nullable<Type> |
systemType |
|
System.String |
expr |
|
System.Int32 |
precedence |
|
System.Int32 |
chainPrecedence |
|
System.Boolean |
isAggregate |
|
System.Boolean |
isWindowFunction |
|
System.Boolean |
isPure |
|
System.Boolean |
isPredicate |
|
System.Nullable<System.Boolean> |
canBeNull |
|
Sql.SqlExtensionParam[] |
parameters |
|
|
Improve this Doc
View Source
SqlExtension(String, Sql.SqlExtensionParam[])
Declaration
public SqlExtension(string expr, params Sql.SqlExtensionParam[] parameters)
Parameters
Properties
|
Improve this Doc
View Source
CanBeNull
Declaration
public bool? CanBeNull { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
|
Improve this Doc
View Source
ChainPrecedence
Declaration
public int ChainPrecedence { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Expr
Declaration
public string Expr { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IsAggregate
Declaration
public bool IsAggregate { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPredicate
Declaration
public bool IsPredicate { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPure
Declaration
public bool IsPure { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWindowFunction
Declaration
public bool IsWindowFunction { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
NamedParameters
Declaration
public Dictionary<string, List<Sql.SqlExtensionParam>> NamedParameters { get; }
Property Value
|
Improve this Doc
View Source
Precedence
Declaration
public int Precedence { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SystemType
Declaration
public Type? SystemType { get; set; }
Property Value
Type |
Description |
System.Nullable<Type> |
|
Methods
|
Improve this Doc
View Source
AddParameter(Sql.SqlExtensionParam)
Declaration
public Sql.SqlExtensionParam AddParameter(Sql.SqlExtensionParam param)
Parameters
Returns
|
Improve this Doc
View Source
AddParameter(String, ISqlExpression)
Declaration
public Sql.SqlExtensionParam AddParameter(string name, ISqlExpression sqlExpression)
Parameters
Returns
|
Improve this Doc
View Source
GetParameters()
Declaration
public Sql.SqlExtensionParam[] GetParameters()
Returns
|
Improve this Doc
View Source
GetParametersByName(String)
Declaration
public IEnumerable<Sql.SqlExtensionParam> GetParametersByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Extension Methods