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
Post a Comment