public void RegisterSpatialFunction(SpatialRelation relation)
 {
     adaptor.RegisterFunction(SpatialDialect.HqlPrefix + relation.ToString(), new SpatialRelationFunction(this, relation));
 }
 private void RegisterSpatialFunction(string standardName, string dialectName, IType returnedType, int allowedArgsCount)
 {
     adaptor.RegisterFunction(SpatialDialect.HqlPrefix + standardName, new SpatialMethodSafeFunction(dialectName, returnedType, allowedArgsCount));
 }