public ODataTableDataServiceWrapper(TableDataService <TEntity, TModel, TIdentifier> tableDataService, ODataQuerySettings oDataQuerySettings = null) { tableServiceWrapper = tableDataService.CreateWrapper(); ODataQuerySettings = oDataQuerySettings ?? new ODataQuerySettings(); ODataValidationSettings = new ODataValidationSettings() { MaxTop = ODataQuerySettings.PageSize }; ODataValidationSettings.AllowedQueryOptions = AllowedQueryOptions.Filter | AllowedQueryOptions.Top | AllowedQueryOptions.Skip | AllowedQueryOptions.OrderBy; }
public RangedTableDataServiceOperations(TableDataService <TEntity, TModel, TIdentifier> service) { this.service = service; wrapper = service.CreateWrapper(); }