EFIngresProvider/SqlGen/Functions/CanonicalFunctions.cs
/// <summary>
/// Dispatches the special function processing to the appropriate handler
/// </summary>
/// <param name="e"></param>
/// <returns></returns>
Dispatches the special function processing to the appropriate handler
Dispatches the special function processing to the appropriate handler
public static ISqlFragment Handle(SqlGenerator sqlGenerator, DbFunctionExpression e)
        {
            FunctionHandler function;
            if (_canonicalFunctions.TryGetValue(e.Function.Name, out function))
            {
                return function.HandleFunction(sqlGenerator, e);
            }
            return _defaultCanonicalFunction.HandleFunction(sqlGenerator, e);
        }
public static ISqlFragment Handle ( SqlGenerator sqlGenerator , DbFunctionExpression e ) { FunctionHandler function ; if ( _canonicalFunctions . TryGetValue ( e . Function . Name , out function ) ) { return function . HandleFunction ( sqlGenerator , e ) ; } return _defaultCanonicalFunction . HandleFunction ( sqlGenerator , e ) ; }
Dispatches the special function processing to the appropriate handler
Dispatches the special function processing to the appropriate handler
None
sqlGenerator
SqlGenerator
e
DbFunctionExpression
None