Пример #1
0
 /// <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;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Chats EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChats(Chat chat)
 {
     base.AddObject("Chats", chat);
 }