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 -

c++ - Serialize a class with a Qlist of custom classes as member (using QDataStream) -

Read video using VideoReader function in Matlab? -