Example #1
0
 public virtual void SaveAll()
 {
     ContactManager.Proxy.UserCollection changed = new ContactManager.Proxy.UserCollection();
     this.FindAllPending(changed);
     if ((changed.Count <= 0))
     {
         return;
     }
     ContactManager.Proxy.User.WcfClient.Current.Channel.SaveAll(changed);
     this.Commit();
 }
Example #2
0
 public static ContactManager.Proxy.UserCollection Search(int id, string email, string firstName, string lastName)
 {
     ContactManager.Proxy.UserCollection collection = new ContactManager.Proxy.UserCollection(MyCie.ContactManager.Proxy.Constants.MyCie_ContactManagerStoreName, ((System.ServiceModel.Channels.IChannel)(ContactManager.Proxy.User.WcfClient.Current.Channel)), "PageSearch", null, id, email, firstName, lastName);
     collection.LoadKnownItems();
     return(collection);
 }
Example #3
0
 public static ContactManager.Proxy.UserCollection PageSearch(int pageIndex, int pageSize, CodeFluent.Runtime.PageOptions pageOptions, int id, string email, string firstName, string lastName)
 {
     ContactManager.Proxy.UserCollection collection = ContactManager.Proxy.User.WcfClient.Current.Channel.PageSearch(pageIndex, pageSize, pageOptions, id, email, firstName, lastName);
     return(collection);
 }
Example #4
0
 public static ContactManager.Proxy.UserCollection LoadAll()
 {
     ContactManager.Proxy.UserCollection collection = new ContactManager.Proxy.UserCollection(MyCie.ContactManager.Proxy.Constants.MyCie_ContactManagerStoreName, ((System.ServiceModel.Channels.IChannel)(ContactManager.Proxy.User.WcfClient.Current.Channel)), "PageLoadAll", null);
     collection.LoadKnownItems();
     return(collection);
 }
Example #5
0
 public static ContactManager.Proxy.UserCollection PageLoadAll(int pageIndex, int pageSize, CodeFluent.Runtime.PageOptions pageOptions)
 {
     ContactManager.Proxy.UserCollection collection = ContactManager.Proxy.User.WcfClient.Current.Channel.PageLoadAll(pageIndex, pageSize, pageOptions);
     return(collection);
 }
Example #6
0
 public new virtual ContactManager.Proxy.UserCollection Clone(bool deep)
 {
     ContactManager.Proxy.UserCollection ret = new ContactManager.Proxy.UserCollection();
     this.CopyTo(ret, deep);
     return(ret);
 }