Esempio n. 1
0
 /// <summary>
 /// Create a new videos object.
 /// </summary>
 /// <param name="videoId">Initial value of the VideoId property.</param>
 /// <param name="url">Initial value of the Url property.</param>
 /// <param name="dataIns">Initial value of the DataIns property.</param>
 /// <param name="ativo">Initial value of the Ativo property.</param>
 /// <param name="titulo">Initial value of the Titulo property.</param>
 /// <param name="descricao">Initial value of the Descricao property.</param>
 public static videos Createvideos(global::System.Int32 videoId, global::System.String url, global::System.DateTime dataIns, global::System.Byte ativo, global::System.String titulo, global::System.String descricao)
 {
     videos videos = new videos();
     videos.VideoId = videoId;
     videos.Url = url;
     videos.DataIns = dataIns;
     videos.Ativo = ativo;
     videos.Titulo = titulo;
     videos.Descricao = descricao;
     return videos;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the videos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovideos(videos videos)
 {
     base.AddObject("videos", videos);
 }