コード例 #1
0
 public static ContactManager.Proxy.ContactCollection PageLoadAll(int pageIndex, int pageSize, CodeFluent.Runtime.PageOptions pageOptions)
 {
     ContactManager.Proxy.ContactCollection collection = ContactManager.Proxy.Contact.WcfClient.Current.Channel.PageLoadAll(pageIndex, pageSize, pageOptions);
     collection._unspecifiedContactSourceContactSource = null;
     collection._contactsUserUser = null;
     return(collection);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 public virtual void SaveAll()
 {
     ContactManager.Proxy.ContactCollection changed = new ContactManager.Proxy.ContactCollection();
     this.FindAllPending(changed);
     if ((changed.Count <= 0))
     {
         return;
     }
     ContactManager.Proxy.Contact.WcfClient.Current.Channel.SaveAll(changed);
     this.Commit();
 }
コード例 #4
0
 public static ContactManager.Proxy.ContactCollection PageLoadByUser(int pageIndex, int pageSize, CodeFluent.Runtime.PageOptions pageOptions, ContactManager.Proxy.User user)
 {
     if ((user == null))
     {
         throw new System.ArgumentNullException("user");
     }
     ContactManager.Proxy.ContactCollection collection = ContactManager.Proxy.Contact.WcfClient.Current.Channel.PageLoadByUser(pageIndex, pageSize, pageOptions, user.EntityKey);
     collection._unspecifiedContactSourceContactSource = null;
     collection._contactsUserUser = user;
     return(collection);
 }
コード例 #5
0
 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);
 }
コード例 #6
0
 public new virtual ContactManager.Proxy.ContactCollection Clone(bool deep)
 {
     ContactManager.Proxy.ContactCollection ret = new ContactManager.Proxy.ContactCollection();
     this.CopyTo(ret, deep);
     return(ret);
 }
コード例 #7
0
 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);
 }
コード例 #8
0
 public static ContactManager.Proxy.ContactCollection PageLoadAll(int pageIndex, int pageSize, CodeFluent.Runtime.PageOptions pageOptions)
 {
     ContactManager.Proxy.ContactCollection collection = ContactManager.Proxy.Contact.WcfClient.Current.Channel.PageLoadAll(pageIndex, pageSize, pageOptions);
     return(collection);
 }