// Query to get All Records protected EntityCollection getROBs(string EntityName) { CreatOrgSvcProx cosp = new CreatOrgSvcProx(); OrganizationServiceProxy prox = cosp.getServiceProxy(); ColumnSet _all = new ColumnSet(true); QueryExpression _robQuery = new QueryExpression(EntityName); _robQuery.ColumnSet = _all; EntityCollection _allRec = prox.RetrieveMultiple(_robQuery); return _allRec; } //