Search This Blog

Saturday, January 14, 2023

Difference between QueryExpress, QueryByAttribute, FetchXml and LINQ

The main query expressions used to query MSD CRM data


  1. QueryExpression
  2. QueryByAttribute
  3. FetchExpression
  4. Linq
Below are the main differences

PropertyQueryExpressionQueryByAttributeFetchExpressionLinq
DistinctYesNoYesYes
NoLockYesNoYesYes
TopCountYesYesYesYes
LinkEntitiesYesYesYesYes

No comments:

Post a Comment