/// <summary>
 /// Deprecated Method for adding a new object to the calendar_wallmessage EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocalendar_wallmessage(calendar_wallmessage calendar_wallmessage)
 {
     base.AddObject("calendar_wallmessage", calendar_wallmessage);
 }
 /// <summary>
 /// Create a new calendar_wallmessage object.
 /// </summary>
 /// <param name="messageId">Initial value of the messageId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="senderid">Initial value of the senderid property.</param>
 /// <param name="content">Initial value of the content property.</param>
 /// <param name="createtime">Initial value of the createtime property.</param>
 public static calendar_wallmessage Createcalendar_wallmessage(global::System.Guid messageId, global::System.Guid userId, global::System.Guid senderid, global::System.String content, global::System.DateTime createtime)
 {
     calendar_wallmessage calendar_wallmessage = new calendar_wallmessage();
     calendar_wallmessage.messageId = messageId;
     calendar_wallmessage.UserId = userId;
     calendar_wallmessage.senderid = senderid;
     calendar_wallmessage.content = content;
     calendar_wallmessage.createtime = createtime;
     return calendar_wallmessage;
 }