/// <summary>
        /// Cross-thread method to execute fetchXml.
        /// </summary>
        public EntityCollection RetrieveMultiple(string fetchXml)
        {
            RetrieveMultipleDelegate del = new RetrieveMultipleDelegate(this.ExecuteFetch);
            EntityCollection         ret = del.Invoke(fetchXml);

            return(ret);
        }
Exemplo n.º 2
0
 public FakeOrganzationService ExpectRetrieveMultiple(RetrieveMultipleDelegate action)
 {
     _operations.Add(new OrganizationServiceStep()
     {
         RetrieveMultiple = action
     });
     return(this);
 }