QueryExpression vs. FetchXml CRM2011

前端 未结 4 796
太阳男子
太阳男子 2020-12-30 14:47

We found out that Linq for CRM 2011 is horribly broken - it seems to have gotten in without any QA performed on it. An indicator as how badly broken the provider is a query

4条回答
  •  自闭症患者
    2020-12-30 15:27

    I would advocate in favor of FetchXML because I can use it in my JavaScript or C# code, unlike LINQ or QueryExpression...therefore one less thing to learn and maintain. As for stuff like Intellisense, there is a great tool that plugs into XrmToolbox called FetchXML Builder that is much more sophisticated in designing complex queries than you will ever see using Advanced Find. I have been using it now for a month for a CRM Online client and it is as close to using SQL as you can get in this environment. It can also generate QueryExpression code for me. I have turned over this tool to my business analysts and they are going to town using it to make sophisticated data sets for the dashboard - a big win for the clients.

    I do lament the loss of detecting errors with early binding, but I enjoy

提交回复
热议问题