Пример #1
0
 /// <summary>
 /// Create a new ContactUpdate object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="contactID">Initial value of the ContactID property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="message">Initial value of the Message property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 public static ContactUpdate CreateContactUpdate(global::System.Guid id, global::System.Guid contactID, global::System.Guid userID, global::System.String message, global::System.DateTime date)
 {
     ContactUpdate contactUpdate = new ContactUpdate();
     contactUpdate.ID = id;
     contactUpdate.ContactID = contactID;
     contactUpdate.UserID = userID;
     contactUpdate.Message = message;
     contactUpdate.Date = date;
     return contactUpdate;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ContactUpdates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToContactUpdates(ContactUpdate contactUpdate)
 {
     base.AddObject("ContactUpdates", contactUpdate);
 }