Class Sql.SqlExtension
  
  
  
    - Namespace
 - LinqToDB
 
  - Assembly
 - linq2db.dll
 
   
  
  
  
    public class Sql.SqlExtension
   
  
    - Inheritance
 
    - 
      
      
Sql.SqlExtension
     
  
  
    - Inherited Members
 
    - 
    
    
    
    
    
    
    
  
 
  
    - Extension Methods
 
    - 
  
  
  
  
  
  
  
  
  
  
  
  
  
 
  Constructors
  
  
  SqlExtension(string, params SqlExtensionParam[])
  
  
  
  
  
    public SqlExtension(string expr, params Sql.SqlExtensionParam[] parameters)
   
  Parameters
  
    expr string 
    
    parameters SqlExtensionParam[] 
    
  
  
  
  SqlExtension(Type?, string, int, int, bool, bool, bool, bool, bool?, params SqlExtensionParam[])
  
  
  
  
  
    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
  
    systemType Type 
    
    expr string 
    
    precedence int 
    
    chainPrecedence int 
    
    isAggregate bool 
    
    isWindowFunction bool 
    
    isPure bool 
    
    isPredicate bool 
    
    canBeNull bool? 
    
    parameters SqlExtensionParam[] 
    
  
  Properties
  
  
  CanBeNull
  
  
  
  
  
    public bool? CanBeNull { get; set; }
   
  Property Value
  
    - bool?
 
    
  
  
  
  ChainPrecedence
  
  
  
  
  
    public int ChainPrecedence { get; set; }
   
  Property Value
  
    - int
 
    
  
  
  
  Expr
  
  
  
  
  
    public string Expr { get; set; }
   
  Property Value
  
    - string
 
    
  
  
  
  IsAggregate
  
  
  
  
  
    public bool IsAggregate { get; set; }
   
  Property Value
  
    - bool
 
    
  
  
  
  IsPredicate
  
  
  
  
  
    public bool IsPredicate { get; set; }
   
  Property Value
  
    - bool
 
    
  
  
  
  IsPure
  
  
  
  
  
    public bool IsPure { get; set; }
   
  Property Value
  
    - bool
 
    
  
  
  
  IsWindowFunction
  
  
  
  
  
    public bool IsWindowFunction { get; set; }
   
  Property Value
  
    - bool
 
    
  
  
  
  NamedParameters
  
  
  
  
  
    public Dictionary<string, List<Sql.SqlExtensionParam>> NamedParameters { get; }
   
  Property Value
  
    - Dictionary<string, List<Sql.SqlExtensionParam>>
 
    
  
  
  
  Precedence
  
  
  
  
  
    public int Precedence { get; set; }
   
  Property Value
  
    - int
 
    
  
  
  
  SystemType
  
  
  
  
  
    public Type? SystemType { get; set; }
   
  Property Value
  
    - Type
 
    
  
  Methods
  
  
  AddParameter(SqlExtensionParam)
  
  
  
  
  
    public Sql.SqlExtensionParam AddParameter(Sql.SqlExtensionParam param)
   
  Parameters
  
    param Sql.SqlExtensionParam 
    
  
  Returns
  
    - Sql.SqlExtensionParam
 
    
  
  
  
  AddParameter(string, ISqlExpression)
  
  
  
  
  
    public Sql.SqlExtensionParam AddParameter(string name, ISqlExpression sqlExpression)
   
  Parameters
  
    name string 
    
    sqlExpression ISqlExpression 
    
  
  Returns
  
    - Sql.SqlExtensionParam
 
    
  
  
  
  GetParameters()
  
  
  
  
  
    public Sql.SqlExtensionParam[] GetParameters()
   
  Returns
  
    - SqlExtensionParam[]
 
    
  
  
  
  GetParametersByName(string)
  
  
  
  
  
    public IEnumerable<Sql.SqlExtensionParam> GetParametersByName(string name)
   
  Parameters
  
    name string 
    
  
  Returns
  
    - IEnumerable<Sql.SqlExtensionParam>