/// <summary> /// Deprecated Method for adding a new object to the chatmessages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTochatmessages(chatmessage chatmessage) { base.AddObject("chatmessages", chatmessage); }
/// <summary> /// Create a new chatmessage object. /// </summary> /// <param name="msgid">Initial value of the msgid property.</param> /// <param name="uid">Initial value of the uid property.</param> /// <param name="frdid">Initial value of the frdid property.</param> /// <param name="message">Initial value of the message property.</param> /// <param name="msgdate">Initial value of the msgdate property.</param> public static chatmessage Createchatmessage(global::System.Int32 msgid, global::System.Int32 uid, global::System.Int32 frdid, global::System.String message, global::System.String msgdate) { chatmessage chatmessage = new chatmessage(); chatmessage.msgid = msgid; chatmessage.uid = uid; chatmessage.frdid = frdid; chatmessage.message = message; chatmessage.msgdate = msgdate; return chatmessage; }