c# - Breeze ODataException without $expand option -
We are two developers (with a Windows Server 2008 R2 and the other with Windows 8) that work on the same project is the final Nuget packages such as visual Studio 2013 Breeze 4.1.11 installed), but with the air different results Query execution.
Windows server us with 2008 R2 , on the contrary, with Windows 8, the query runs with query Thank you standard Odata though queries require $ expand choice, if you Breeze controller Attribute If you decorate your Breeze API Controller, you will understand the Brief Query even if you do not have $ extension Do not Rdisht. So it seems that a 'breeze friendly' controller in Windows Server 2008 R2 $ expand option otherwise we have an error
$ select query to specify properties for $ expansion The options can be found in
$ extended option, why successfully?
$ extension with query:
/ air / air / Udc_Testata? $ Filter = Id_Tipo_Udc eq 'A' in & amp; $ Orderby = Id_Udc & amp; $ Top = 100 & amp; $ Extension = FK_Udc_Testata_Tipo_Udc% 2CFK_Udc_Posizione_Udc_Testata% 2FFK_Udc_Posizione_Partizioni & amp; $ Select = Codice_Udc% 2CFK_Udc_Testata_Tipo_Udc% 2FDescrizione% 2CFK_Udc_Posizione_Udc_Testata% 2FFK_Udc_Posizione_Partizioni% 2FDescrizion
$ expansion without query & amp; $ inlinecount = allpages
/ air / air / Udc_Testata? $ Filter = Id_Tipo_Udc from eq 'a' and $ order = id_usc and $ top = 100 and select $ codic_usc% 2CFK_Udc_Testata_Tipo_Udc% 2FDescrizione% 2CFK_Udc_Posizione_Udc_Testata% 2FFK_Udc_Posizione_Partizioni% 2FDescrizione and $ inlinecount = all pages
Comments
Post a Comment