Example #1
0
    static IQueryable <T> _inner <T>(this ExpandableQuery <T> eq)
    {
        var ExpandableQuery__inner_FieldInfo = typeof(ExpandableQuery <T>).GetField("_inner", BindingFlags.NonPublic | BindingFlags.Instance);

        return((IQueryable <T>)ExpandableQuery__inner_FieldInfo.GetValue(eq));
    }
Example #2
0
        public static IQueryable <T> AsExpandable <T>(this IQueryable <T> thisValue)
        {
            ExpandableQuery <T> query = thisValue as ExpandableQuery <T>;

            return(query ?? new ExpandableQuery <T>(thisValue));
        }