/// <summary> /// Create a ApplyFilterClause from a parse transformation query /// </summary> /// <param name="apply"></param> /// <param name="query"></param> /// <param name="oDataUriParserConfiguration"></param> /// <param name="edmType"></param> /// <param name="edmNavigationSource"></param> /// <returns></returns> private static ApplyFilterClause ParseFilter(ApplyClause apply, string query, ODataUriParserConfiguration oDataUriParserConfiguration, IEdmType edmType, IEdmNavigationSource edmNavigationSource) { query = IsolateQuery(query, UriQueryConstants.FilterTransformation); return(new ApplyFilterClause() { Apply = apply, Filter = ODataQueryOptionParser.ParseFilterImplementation( query, oDataUriParserConfiguration, edmType, edmNavigationSource), RawQueryString = query }); }