Пример #1
0
 /// <summary>
 /// Create a new ContactGroup object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="contactId">Initial value of the ContactId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static ContactGroup CreateContactGroup(global::System.Int64 id, global::System.Int64 contactId, global::System.String name)
 {
     ContactGroup contactGroup = new ContactGroup();
     contactGroup.Id = id;
     contactGroup.ContactId = contactId;
     contactGroup.Name = name;
     return contactGroup;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ContactGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToContactGroups(ContactGroup contactGroup)
 {
     base.AddObject("ContactGroups", contactGroup);
 }