public static ContactManager.Proxy.ContactCollection LoadAll() { ContactManager.Proxy.ContactCollection collection = new ContactManager.Proxy.ContactCollection(ContactManager.Proxy.Constants.ContactManagerStoreName, ((System.ServiceModel.Channels.IChannel)(ContactManager.Proxy.Contact.WcfClient.Current.Channel)), "PageLoadAll", null); collection._unspecifiedContactSourceContactSource = null; collection._contactsUserUser = null; collection.LoadKnownItems(); return(collection); }
public static ContactManager.Proxy.ContactCollection LoadByUser(ContactManager.Proxy.User user) { if ((user == null)) { throw new System.ArgumentNullException("user"); } ContactManager.Proxy.ContactCollection collection = new ContactManager.Proxy.ContactCollection(ContactManager.Proxy.Constants.ContactManagerStoreName, ((System.ServiceModel.Channels.IChannel)(ContactManager.Proxy.Contact.WcfClient.Current.Channel)), "PageLoadByUser", null, user.EntityKey); collection._unspecifiedContactSourceContactSource = null; collection._contactsUserUser = user; collection.LoadKnownItems(); return(collection); }
public static ContactManager.Proxy.ContactCollection LoadAll() { ContactManager.Proxy.ContactCollection collection = new ContactManager.Proxy.ContactCollection(MyCie.ContactManager.Proxy.Constants.MyCie_ContactManagerStoreName, ((System.ServiceModel.Channels.IChannel)(ContactManager.Proxy.Contact.WcfClient.Current.Channel)), "PageLoadAll", null); collection.LoadKnownItems(); return(collection); }