/// <summary>
 /// Create a new ChatMessages object.
 /// </summary>
 /// <param name="cm_id">Initial value of the cm_id property.</param>
 /// <param name="cm_type">Initial value of the cm_type property.</param>
 /// <param name="cm_time">Initial value of the cm_time property.</param>
 /// <param name="cm_senderdisplayname">Initial value of the cm_senderdisplayname property.</param>
 /// <param name="cm_text">Initial value of the cm_text property.</param>
 /// <param name="cm_texthtml">Initial value of the cm_texthtml property.</param>
 public static ChatMessages CreateChatMessages(global::System.Int32 cm_id, global::System.Int32 cm_type, global::System.DateTime cm_time, global::System.String cm_senderdisplayname, global::System.String cm_text, global::System.String cm_texthtml)
 {
     ChatMessages chatMessages = new ChatMessages();
     chatMessages.cm_id = cm_id;
     chatMessages.cm_type = cm_type;
     chatMessages.cm_time = cm_time;
     chatMessages.cm_senderdisplayname = cm_senderdisplayname;
     chatMessages.cm_text = cm_text;
     chatMessages.cm_texthtml = cm_texthtml;
     return chatMessages;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ChatMessages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChatMessages(ChatMessages chatMessages)
 {
     base.AddObject("ChatMessages", chatMessages);
 }