Пример #1
0
 public virtual void SaveAll()
 {
     ContactManager.Proxy.ContactSourceCollection changed = new ContactManager.Proxy.ContactSourceCollection();
     this.FindAllPending(changed);
     if ((changed.Count <= 0))
     {
         return;
     }
     ContactManager.Proxy.ContactSource.WcfClient.Current.Channel.SaveAll(changed);
     this.Commit();
 }
Пример #2
0
 public static ContactManager.Proxy.ContactSourceCollection LoadAll()
 {
     ContactManager.Proxy.ContactSourceCollection collection = new ContactManager.Proxy.ContactSourceCollection(ContactManager.Proxy.Constants.ContactManagerStoreName, ((System.ServiceModel.Channels.IChannel)(ContactManager.Proxy.ContactSource.WcfClient.Current.Channel)), "PageLoadAll", null);
     collection.LoadKnownItems();
     return(collection);
 }
Пример #3
0
 public static ContactManager.Proxy.ContactSourceCollection PageLoadAll(int pageIndex, int pageSize, CodeFluent.Runtime.PageOptions pageOptions)
 {
     ContactManager.Proxy.ContactSourceCollection collection = ContactManager.Proxy.ContactSource.WcfClient.Current.Channel.PageLoadAll(pageIndex, pageSize, pageOptions);
     return(collection);
 }
Пример #4
0
 public new virtual ContactManager.Proxy.ContactSourceCollection Clone(bool deep)
 {
     ContactManager.Proxy.ContactSourceCollection ret = new ContactManager.Proxy.ContactSourceCollection();
     this.CopyTo(ret, deep);
     return(ret);
 }