DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
SystemContextExtensions.cs
Go to the documentation of this file.
1 using System;
2 
3 using Deveel.Data;
4 using Deveel.Data.Routines;
5 using Deveel.Data.Services;
6 
7 namespace Deveel.Data.Spatial {
8  public static class SystemContextExtensions {
9  public static void UserSpatial(this ISystemContext context) {
10  context.RegisterService<SpatialTypeResolver>();
11  context.RegisterInstance<IRoutineResolver>(SpatialSystemFunctions.Resolver);
12  }
13  }
14 }
The system uses instances of this interface to resolve routines given a user invocation.
The execution context of a database system, that is defining the configurations and the components us...
static void UserSpatial(this ISystemContext context)