web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

LINQ

(0) ShareShare
ReportReport
Posted on by

Hi all,

Can you please tell me why we use LINQ in our MSCRM.

With regards,

Praveen Kumar reddy C

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Wayne Walton Profile Picture
    13,730 on at

    Why you personally?  Not sure anyone can tell you other than your devs.  But in general, because it's supported. msdn.microsoft.com/.../gg328328.aspx

  • Suggested answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Hi Praveen,

    LINQ is useful with CRM if you want to query for records and you're using early bound classes (a Contact class with properties, as opposed to DynamicEntity). Using LINQ can be easier syntactically because it's more similar to SQL, where as Query Expressions require you to build up classes with the query details. Also, values in a LINQ result are evaluated as they're used, where a standard query gets back a page of data up front.

    I usually use Query Expressions to get back the data because that's available for all versions of CRM and I have to work with everything from 2011 and up, but if you're on Online only you may find LINQ is a convenient way to query for data.

    Hope this helps! I'd appreciate if you'd mark this as Answering your question.

    Thanks,

     Aiden

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans