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

            FunctionInfo = functionInfo;
        }
 public UserFunction(FunctionInfo functionInfo)
     : base(functionInfo)
 {
 }
Exemple #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.");
 }
 public DelegateFunction(FunctionInfo functionInfo, Func<ExecuteContext, ExecuteResult> functionBody, Func<ExecuteContext, SqlType> returnType)
     : base(functionInfo)
 {
     this.functionBody = functionBody;
     this.returnType = returnType;
 }
 protected void Register(FunctionInfo functionInfo, Func<ExecuteContext, ExecuteResult> body, Func<ExecuteContext, SqlType> returnType)
 {
     Register(new DelegateFunction(functionInfo, body, returnType));
 }
 protected void Register(FunctionInfo functionInfo, Func <InvokeContext, InvokeResult> body, Func <InvokeContext, SqlType> returnType)
 {
     Register(new DelegateFunction(functionInfo, body, returnType));
 }
 public DelegateFunction(FunctionInfo functionInfo, Func <InvokeContext, InvokeResult> functionBody, Func <InvokeContext, SqlType> returnType)
     : base(functionInfo)
 {
     this.functionBody = functionBody;
     this.returnType   = returnType;
 }
 public PlSqlFunction(FunctionInfo functionInfo)
     : base(functionInfo)
 {
 }