/// <summary> /// Create a new TrackedEvent object. /// </summary> /// <param name="trackedEventID">Initial value of the TrackedEventID property.</param> /// <param name="eventID">Initial value of the EventID property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="lastUpdatedDate">Initial value of the LastUpdatedDate property.</param> /// <param name="showOnTimeline">Initial value of the ShowOnTimeline property.</param> /// <param name="joinPending">Initial value of the JoinPending property.</param> /// <param name="trackedEventGUID">Initial value of the TrackedEventGUID property.</param> public static TrackedEvent CreateTrackedEvent(global::System.Int32 trackedEventID, global::System.Int32 eventID, global::System.Int32 userID, global::System.DateTime createdDate, global::System.DateTime lastUpdatedDate, global::System.Boolean showOnTimeline, global::System.Boolean joinPending, global::System.Guid trackedEventGUID) { TrackedEvent trackedEvent = new TrackedEvent(); trackedEvent.TrackedEventID = trackedEventID; trackedEvent.EventID = eventID; trackedEvent.UserID = userID; trackedEvent.CreatedDate = createdDate; trackedEvent.LastUpdatedDate = lastUpdatedDate; trackedEvent.ShowOnTimeline = showOnTimeline; trackedEvent.JoinPending = joinPending; trackedEvent.TrackedEventGUID = trackedEventGUID; return trackedEvent; }
/// <summary> /// Deprecated Method for adding a new object to the TrackedEvents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTrackedEvents(TrackedEvent trackedEvent) { base.AddObject("TrackedEvents", trackedEvent); }