The function signature information that are used to resolve a function within a context.
Inheritance: RoutineInfo
Esempio n. 1
0
        protected Function(FunctionInfo functionInfo)
        {
            if (functionInfo == null)
                throw new ArgumentNullException("functionInfo");

            FunctionInfo = functionInfo;
        }
Esempio n. 2
0
 public UserFunction(FunctionInfo functionInfo)
     : base(functionInfo)
 {
 }
Esempio n. 3
0
 public ExternalFunction(FunctionInfo functionInfo)
     : base(functionInfo)
 {
     if (functionInfo.FunctionType != FunctionType.External)
         throw new ArgumentException("The information specified are not pointing to any external function.");
 }
Esempio n. 4
0
 public DelegateFunction(FunctionInfo functionInfo, Func<ExecuteContext, ExecuteResult> functionBody, Func<ExecuteContext, SqlType> returnType)
     : base(functionInfo)
 {
     this.functionBody = functionBody;
     this.returnType = returnType;
 }
Esempio n. 5
0
 protected void Register(FunctionInfo functionInfo, Func<ExecuteContext, ExecuteResult> body, Func<ExecuteContext, SqlType> returnType)
 {
     Register(new DelegateFunction(functionInfo, body, returnType));
 }
Esempio n. 6
0
 protected void Register(FunctionInfo functionInfo, Func <InvokeContext, InvokeResult> body, Func <InvokeContext, SqlType> returnType)
 {
     Register(new DelegateFunction(functionInfo, body, returnType));
 }
Esempio n. 7
0
 public DelegateFunction(FunctionInfo functionInfo, Func <InvokeContext, InvokeResult> functionBody, Func <InvokeContext, SqlType> returnType)
     : base(functionInfo)
 {
     this.functionBody = functionBody;
     this.returnType   = returnType;
 }
Esempio n. 8
0
 public PlSqlFunction(FunctionInfo functionInfo)
     : base(functionInfo)
 {
 }