/// <summary> /// Create a new Chat object. /// </summary> /// <param name="chatRoomID">Initial value of the ChatRoomID property.</param> public static Chat CreateChat(global::System.Int32 chatRoomID) { Chat chat = new Chat(); chat.ChatRoomID = chatRoomID; return chat; }
/// <summary> /// Deprecated Method for adding a new object to the Chats EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToChats(Chat chat) { base.AddObject("Chats", chat); }