/// <summary> /// Deprecated Method for adding a new object to the ContentsTimes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContentsTimes(ContentsTime contentsTime) { base.AddObject("ContentsTimes", contentsTime); }
/// <summary> /// Create a new ContentsTime object. /// </summary> /// <param name="mainTable">Initial value of the MainTable property.</param> /// <param name="contents">Initial value of the Contents property.</param> /// <param name="timePeriod">Initial value of the TimePeriod property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="logDate">Initial value of the LogDate property.</param> public static ContentsTime CreateContentsTime(global::System.String mainTable, global::System.String contents, global::System.String timePeriod, global::System.String userId, global::System.DateTime logDate) { ContentsTime contentsTime = new ContentsTime(); contentsTime.MainTable = mainTable; contentsTime.Contents = contents; contentsTime.TimePeriod = timePeriod; contentsTime.UserId = userId; contentsTime.LogDate = logDate; return contentsTime; }