DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
FluentConfigurationExtensions.cs
Go to the documentation of this file.
1 using System;
2 
3 using Deveel.Data.Sql.Fluid;
4 
5 namespace Deveel.Data.Spatial {
8  return configuration.ReturnsType(SpatialType.Geometry());
9  }
10 
11  public static IFunctionConfiguration WithSpatialParameter(this IFunctionConfiguration configuration, string name) {
12  return configuration.WithParameter(name, SpatialType.Geometry());
13  }
14  }
15 }
static IFunctionConfiguration WithSpatialParameter(this IFunctionConfiguration configuration, string name)
static SpatialType Geometry(int srid)
Definition: SpatialType.cs:31
static IFunctionConfiguration ReturnsSpatialType(this IFunctionConfiguration configuration)
IFunctionConfiguration ReturnsType(Func< InvokeContext, SqlType > returns)
IFunctionConfiguration WithParameter(Action< IFunctionParameterConfiguration > config)