/// <summary> /// Deprecated Method for adding a new object to the AdminMessages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAdminMessages(AdminMessage adminMessage) { base.AddObject("AdminMessages", adminMessage); }
/// <summary> /// Create a new AdminMessage object. /// </summary> /// <param name="adminMessageId">Initial value of the AdminMessageId property.</param> /// <param name="messageText">Initial value of the MessageText property.</param> /// <param name="lastUpdatedDateTime">Initial value of the LastUpdatedDateTime property.</param> public static AdminMessage CreateAdminMessage(global::System.Int32 adminMessageId, global::System.String messageText, global::System.DateTimeOffset lastUpdatedDateTime) { AdminMessage adminMessage = new AdminMessage(); adminMessage.AdminMessageId = adminMessageId; adminMessage.MessageText = messageText; adminMessage.LastUpdatedDateTime = lastUpdatedDateTime; return adminMessage; }