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