コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VideoThumbs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVideoThumbs(VideoThumb videoThumb)
 {
     base.AddObject("VideoThumbs", videoThumb);
 }
コード例 #2
0
 /// <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;
 }