示例#1
0
        public async Task <List <DataPoolStorage> > GetItems()
        {
            IDataPoolStorageService service = new DataPoolStorageService(new ODNSettings()
            {
                RESTAddress = "https://odn.azurewebsites.net", ApiKey = "34DA933321CD615E3748FE5A811E2F03"
            }
                                                                         );

            return(await service.OdataQuery <List <DataPoolStorage> >("?$filter=DataPoolId eq 1&$orderby=id desc"));
        }