/// <summary> /// Deprecated Method for adding a new object to the DataTimeline EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDataTimeline(DataTimelineItem dataTimelineItem) { base.AddObject("DataTimeline", dataTimelineItem); }
/// <summary> /// Create a new DataTimelineItem object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="sourceTable">Initial value of the SourceTable property.</param> /// <param name="operation">Initial value of the Operation property.</param> /// <param name="sysCreatedDate">Initial value of the SysCreatedDate property.</param> /// <param name="newData">Initial value of the NewData property.</param> public static DataTimelineItem CreateDataTimelineItem(global::System.Int32 id, global::System.String sourceTable, global::System.String operation, global::System.DateTime sysCreatedDate, global::System.String newData) { DataTimelineItem dataTimelineItem = new DataTimelineItem(); dataTimelineItem.ID = id; dataTimelineItem.SourceTable = sourceTable; dataTimelineItem.Operation = operation; dataTimelineItem.SysCreatedDate = sysCreatedDate; dataTimelineItem.NewData = newData; return dataTimelineItem; }