odata

OData: Incompatible type kinds were found. Found type kind 'Primitive' instead of the expected kind 'None'

倾然丶 夕夏残阳落幕 提交于 2020-05-17 09:04:07
问题 I am trying to use Excel 16.0.11929.20436 Get Data from Other Sources : OData Feed. When I enter the url I get the below error. OData: Incompatible type kinds were found. Found type kind 'Primitive' instead of the expected kind 'None'. I referred to the issue in github https://github.com/OData/odata.net/issues/1445 and it mentioned 'OData protocol does not allow duplicate names for top-level elements in the same namespace' Based on that solution, I fixed the duplicates in my CSDL but still

.net core how to add Content-range to header

梦想与她 提交于 2020-05-15 21:06:00
问题 I'm having no luck find out how to add Content-Range to the header of my odata requests. My api requires a format as such for paging: Content-Range: posts 0-24/319 The closest thing I can find is HTTP Byte Range Support. From here: https://blogs.msdn.microsoft.com/webdev/2012/11/23/asp-net-web-api-and-http-byte-range-support/ . The OP says a post will be written about [Queryable] which is supposed to add support for paging, but I have yet to see any info on this. [EnableQuery] [ODataRoute]

.net core how to add Content-range to header

◇◆丶佛笑我妖孽 提交于 2020-05-15 21:03:06
问题 I'm having no luck find out how to add Content-Range to the header of my odata requests. My api requires a format as such for paging: Content-Range: posts 0-24/319 The closest thing I can find is HTTP Byte Range Support. From here: https://blogs.msdn.microsoft.com/webdev/2012/11/23/asp-net-web-api-and-http-byte-range-support/ . The OP says a post will be written about [Queryable] which is supposed to add support for paging, but I have yet to see any info on this. [EnableQuery] [ODataRoute]

OData on .Net Core doesn't return the right results on $select

那年仲夏 提交于 2020-05-12 18:58:50
问题 I've added OData to my WebAPI project. Versions: Core 3.1 OData 7.3.0 (beta version in order to work with Core 3.x) EF Core 3.1.0 Here is my startup.cs public class Startup { public Startup(IConfiguration configuration) { Configuration = configuration; } public IConfiguration Configuration { get; } public void ConfigureServices(IServiceCollection services) { services.AddDbContext<Models.Contexts.EntityContext>(opts => opts.UseSqlServer(Configuration["ConnectionString:MailBackup"])); services

OData on .Net Core doesn't return the right results on $select

久未见 提交于 2020-05-12 18:52:52
问题 I've added OData to my WebAPI project. Versions: Core 3.1 OData 7.3.0 (beta version in order to work with Core 3.x) EF Core 3.1.0 Here is my startup.cs public class Startup { public Startup(IConfiguration configuration) { Configuration = configuration; } public IConfiguration Configuration { get; } public void ConfigureServices(IServiceCollection services) { services.AddDbContext<Models.Contexts.EntityContext>(opts => opts.UseSqlServer(Configuration["ConnectionString:MailBackup"])); services

Counting ALL rows in Dynamics CRM Online web api (ODATA)

坚强是说给别人听的谎言 提交于 2020-05-12 05:04:30
问题 Is it possible to count all rows in a given entity, bypassing the 5000 row limit and bypassing the pagesize limit? I do not want to return more than 5000 rows in one request, but only want the count of all the rows in that given entity. According to Microsoft, you cannot do it in the request URI: The count value does not represent the total number of entities in the system. It is limited by the maximum number of entities that can be returned. I have tried this: GET [Organization URI]/api/data

Counting ALL rows in Dynamics CRM Online web api (ODATA)

纵饮孤独 提交于 2020-05-12 05:04:10
问题 Is it possible to count all rows in a given entity, bypassing the 5000 row limit and bypassing the pagesize limit? I do not want to return more than 5000 rows in one request, but only want the count of all the rows in that given entity. According to Microsoft, you cannot do it in the request URI: The count value does not represent the total number of entities in the system. It is limited by the maximum number of entities that can be returned. I have tried this: GET [Organization URI]/api/data

OData vs GraphQL [closed]

我只是一个虾纸丫 提交于 2020-05-09 17:47:09
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago . Is there a good comparison of GraphQL & OData in terms of performance, developers usability, community, etc.. All articles that I find in the Internet are very bias. What would be the best way to return a big bulky JSON or binary data? 回答1: I have researched and also tried

【接口时序】4、SPI总线的原理与Verilog实现

余生颓废 提交于 2020-05-09 15:43:48
一、 软件平台与硬件平台   软件平台:     1、操作系统:Windows-8.1     2、开发套件:ISE14.7     3、仿真工具:ModelSim-10.4-SE   硬件平台:     1、 FPGA型号:Xilinx公司的XC6SLX45-2CSG324     2、 Flash型号:WinBond公司的W25Q128BV Qual SPI Flash存储器 二、 原理介绍   SPI(Serial Peripheral Interface,串行外围设备接口),是Motorola公司提出的一种同步串行接口技术,是一种高速、全双工、同步通信总线,在芯片中只占用四根管脚用来控制及数据传输,广泛用于EEPROM、Flash、RTC(实时时钟)、ADC(数模转换器)、DSP(数字信号处理器)以及数字信号解码器上。SPI通信的速度很容易达到好几兆bps,所以可以用SPI总线传输一些未压缩的音频以及压缩的视频。   下图是只有2个chip利用SPI总线进行通信的结构图   可知SPI总线传输只需要4根线就能完成,这四根线的作用分别如下:     SCK(Serial Clock):SCK是串行时钟线,作用是Master向Slave传输时钟信号,控制数据交换的时机和速率;     MOSI(Master Out Slave in):在SPI Master上也被称为Tx

Find picklist values in Dynamics via the Web API

穿精又带淫゛_ 提交于 2020-05-09 05:17:10
问题 I'm trying to determine how I can find the integer values for picklist fields in Dynamics via the web api. I can access the basic metadata by using: GET https://[COMPANY].api.crm3.dynamics.com/api/data/v9.0//EntityDefinitions(LogicalName='lead')/Attributes/ but for picklist values I don't see the mapping of the integer value to the displayed string. Is there a table that holds all of this or a way to expand this information on the above call? 回答1: You can use this to retrieve. https://