/// <summary>
 /// Deprecated Method for adding a new object to the MessagesHistoryCache EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMessagesHistoryCache(MessagesHistoryCache messagesHistoryCache)
 {
     base.AddObject("MessagesHistoryCache", messagesHistoryCache);
 }
 /// <summary>
 /// Create a new MessagesHistoryCache object.
 /// </summary>
 /// <param name="mhc_fromusername">Initial value of the mhc_fromusername property.</param>
 /// <param name="mhc_tousername">Initial value of the mhc_tousername property.</param>
 public static MessagesHistoryCache CreateMessagesHistoryCache(global::System.String mhc_fromusername, global::System.String mhc_tousername)
 {
     MessagesHistoryCache messagesHistoryCache = new MessagesHistoryCache();
     messagesHistoryCache.mhc_fromusername = mhc_fromusername;
     messagesHistoryCache.mhc_tousername = mhc_tousername;
     return messagesHistoryCache;
 }