/// <summary>
 /// Create a new Message object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="body">Initial value of the Body property.</param>
 /// <param name="dateSent">Initial value of the DateSent property.</param>
 public static Message CreateMessage(global::System.Guid id, global::System.String body, global::System.DateTime dateSent)
 {
     Message message = new Message();
     message.Id = id;
     message.Body = body;
     message.DateSent = dateSent;
     return message;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Messages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMessages(Message message)
 {
     base.AddObject("Messages", message);
 }