private void DialectFunction(IASTNode exprList) { _function = SessionFactoryHelper.FindSQLFunction(_methodName); if (_function != null) { DataType = SessionFactoryHelper.FindFunctionReturnType(_methodName, (IEnumerable <IASTNode>)exprList); } //TODO: /*else { * methodName = (String) getWalker().getTokenReplacements().get( methodName ); * }*/ }
private void DialectFunction(IASTNode exprList) { _function = SessionFactoryHelper.FindSQLFunction(_methodName); if (_function != null) { IASTNode child = null; if (exprList != null) { child = _methodName == "iif" ? exprList.GetChild(1) : exprList.GetChild(0); } DataType = SessionFactoryHelper.FindFunctionReturnType(_methodName, child); } //TODO: /*else { * methodName = (String) getWalker().getTokenReplacements().get( methodName ); * }*/ }