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

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