/// <summary>
 /// Deprecated Method for adding a new object to the statusmessages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTostatusmessages(statusmessage statusmessage)
 {
     base.AddObject("statusmessages", statusmessage);
 }
 /// <summary>
 /// Create a new statusmessage object.
 /// </summary>
 /// <param name="statusmsg_id">Initial value of the statusmsg_id property.</param>
 /// <param name="message">Initial value of the message property.</param>
 /// <param name="messagekey">Initial value of the messagekey property.</param>
 public static statusmessage Createstatusmessage(global::System.Int64 statusmsg_id, global::System.String message, global::System.String messagekey)
 {
     statusmessage statusmessage = new statusmessage();
     statusmessage.statusmsg_id = statusmsg_id;
     statusmessage.message = message;
     statusmessage.messagekey = messagekey;
     return statusmessage;
 }