public virtual void SaveAll() { ContactManager.Proxy.AddressCollection changed = new ContactManager.Proxy.AddressCollection(); this.FindAllPending(changed); if ((changed.Count <= 0)) { return; } ContactManager.Proxy.Address.WcfClient.Current.Channel.SaveAll(changed); this.Commit(); }
public static ContactManager.Proxy.AddressCollection LoadAll() { ContactManager.Proxy.AddressCollection collection = new ContactManager.Proxy.AddressCollection(ContactManager.Proxy.Constants.ContactManagerStoreName, ((System.ServiceModel.Channels.IChannel)(ContactManager.Proxy.Address.WcfClient.Current.Channel)), "PageLoadAll", null); collection.LoadKnownItems(); return(collection); }
public static ContactManager.Proxy.AddressCollection PageLoadAll(int pageIndex, int pageSize, CodeFluent.Runtime.PageOptions pageOptions) { ContactManager.Proxy.AddressCollection collection = ContactManager.Proxy.Address.WcfClient.Current.Channel.PageLoadAll(pageIndex, pageSize, pageOptions); return(collection); }
public new virtual ContactManager.Proxy.AddressCollection Clone(bool deep) { ContactManager.Proxy.AddressCollection ret = new ContactManager.Proxy.AddressCollection(); this.CopyTo(ret, deep); return(ret); }