Ejemplo n.º 1
0
        public static object Bind(object entity, ODataQuerySettings settings,
                                  SelectExpandQueryOption selectExpandQuery)
        {
            Contract.Assert(entity != null);

            SelectExpandBinder binder = new SelectExpandBinder(settings, selectExpandQuery);

            return(binder.Bind(entity));
        }
Ejemplo n.º 2
0
        public static IQueryable Bind(IQueryable queryable, ODataQuerySettings settings,
                                      SelectExpandQueryOption selectExpandQuery)
        {
            Contract.Assert(queryable != null);

            SelectExpandBinder binder = new SelectExpandBinder(settings, selectExpandQuery);

            return(binder.Bind(queryable));
        }