/// <summary> /// Deprecated Method for adding a new object to the InstantMessages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInstantMessages(InstantMessage instantMessage) { base.AddObject("InstantMessages", instantMessage); }
/// <summary> /// Create a new InstantMessage object. /// </summary> /// <param name="instantMessageID">Initial value of the InstantMessageID property.</param> public static InstantMessage CreateInstantMessage(global::System.Int64 instantMessageID) { InstantMessage instantMessage = new InstantMessage(); instantMessage.InstantMessageID = instantMessageID; return instantMessage; }