/// <summary>
 /// Create a new Message object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="nick">Initial value of the Nick property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="text">Initial value of the Text property.</param>
 public static Message CreateMessage(global::System.Int32 id, global::System.String nick, global::System.String email, global::System.DateTime date, global::System.String text)
 {
     Message message = new Message();
     message.Id = id;
     message.Nick = nick;
     message.Email = email;
     message.Date = date;
     message.Text = text;
     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);
 }