Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Code Review Matter CRM 2011

$
0
0

What's your opinion, if your queryexpression or querybyattribute have a columnset constructor call like this columnSet.Columns = new ColumnSet(false);

Is it recommended, especially if you just want to check if one record exist?

Which is the best code

1. columnSet.Columns = new ColumnSet(false);

2. Retrieve only the target entity unique id. e.g columnSet.Columns = new ColumnSet("contactid");

3. No columnset declaration.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>