c# - Select all column in QueryExpression CRM 2011 -


i have queryexpression in code.

 queryexpression query = new queryexpression() { };   query.entityname = "country";  query.columnset = new columnset("name", "2digitiso", "3digitiso");   entitycollection retrieved = _service.retrievemultiple(query); 

my question is, there way select columns in "country" without providing columnset? pretty want select * sql query.

yes, if change third line this

query.columnset = new columnset(true); 

then select columns


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -