DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Protected Member Functions | Properties | List of all members
Deveel.Data.Routines.FunctionBuildTests.Factory1 Class Reference
Inheritance diagram for Deveel.Data.Routines.FunctionBuildTests.Factory1:
Deveel.Data.Routines.FunctionProvider Deveel.Data.Routines.IRoutineResolver Deveel.Data.Sql.Fluid.IConfigurationContext

Protected Member Functions

override void OnInit ()
 
- Protected Member Functions inherited from Deveel.Data.Routines.FunctionProvider
 FunctionProvider ()
 
virtual ObjectName NormalizeName (ObjectName name)
 
void Register (FunctionInfo functionInfo, Func< InvokeContext, InvokeResult > body, Func< InvokeContext, SqlType > returnType)
 
void Register (Func< IFunctionConfiguration, IFunctionConfiguration > config)
 
void Register (IFunction function)
 
virtual void Dispose (bool disposing)
 

Properties

override string SchemaName [get]
 
- Properties inherited from Deveel.Data.Routines.FunctionProvider
abstract string SchemaName [get]
 
- Properties inherited from Deveel.Data.Sql.Fluid.IConfigurationContext
string SchemaName [get]
 

Additional Inherited Members

- Public Member Functions inherited from Deveel.Data.Routines.FunctionProvider
IFunction ResolveFunction (Invoke invoke, IQuery query)
 
void Dispose ()
 

Detailed Description

Definition at line 64 of file FunctionBuildTests.cs.

Member Function Documentation

override void Deveel.Data.Routines.FunctionBuildTests.Factory1.OnInit ( )
inlineprotectedvirtual

Implements Deveel.Data.Routines.FunctionProvider.

Definition at line 69 of file FunctionBuildTests.cs.

69  {
70  Register(config => config.Named("user2")
71  .ReturnsType(PrimitiveTypes.String())
72  .WhenExecute(context => context.Result(DataObject.String(context.Request.User().Name))));
73  }
Provides some helper functions for resolving and creating SqlType instances that are primitive to the...
static DataObject String(string s)
Definition: DataObject.cs:592
Represents a dynamic object that encapsulates a defined SqlType and a compatible constant ISqlObject ...
Definition: DataObject.cs:35
void Register(FunctionInfo functionInfo, Func< InvokeContext, InvokeResult > body, Func< InvokeContext, SqlType > returnType)

Property Documentation

override string Deveel.Data.Routines.FunctionBuildTests.Factory1.SchemaName
get

Definition at line 65 of file FunctionBuildTests.cs.


The documentation for this class was generated from the following file: