/// <summary> /// Deprecated Method for adding a new object to the VideoThumbs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVideoThumbs(VideoThumb videoThumb) { base.AddObject("VideoThumbs", videoThumb); }
/// <summary> /// Create a new VideoThumb object. /// </summary> /// <param name="thumbID">Initial value of the thumbID property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="timeStamp">Initial value of the TimeStamp property.</param> /// <param name="content">Initial value of the Content property.</param> public static VideoThumb CreateVideoThumb(global::System.Int32 thumbID, global::System.String title, global::System.DateTime timeStamp, global::System.Byte[] content) { VideoThumb videoThumb = new VideoThumb(); videoThumb.thumbID = thumbID; videoThumb.Title = title; videoThumb.TimeStamp = timeStamp; videoThumb.Content = content; return videoThumb; }