/// <summary> /// Create a new SavedEvent object. /// </summary> /// <param name="eventTypeID">Initial value of the EventTypeID property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="eventTime">Initial value of the EventTime property.</param> public static SavedEvent CreateSavedEvent(global::System.Byte eventTypeID, global::System.Byte userID, global::System.DateTime eventTime) { SavedEvent savedEvent = new SavedEvent(); savedEvent.EventTypeID = eventTypeID; savedEvent.UserID = userID; savedEvent.EventTime = eventTime; return(savedEvent); }
/// <summary> /// Deprecated Method for adding a new object to the SavedEvents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSavedEvents(SavedEvent savedEvent) { base.AddObject("SavedEvents", savedEvent); }