コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the T_Videos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToT_Videos(T_Videos t_Videos)
 {
     base.AddObject("T_Videos", t_Videos);
 }
コード例 #2
0
 /// <summary>
 /// Create a new T_Videos object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="title">Initial value of the title property.</param>
 /// <param name="description">Initial value of the description property.</param>
 /// <param name="upload_date">Initial value of the upload_date property.</param>
 /// <param name="uploader">Initial value of the uploader property.</param>
 public static T_Videos CreateT_Videos(global::System.Int32 id, global::System.String title, global::System.String description, global::System.DateTime upload_date, global::System.Int32 uploader)
 {
     T_Videos t_Videos = new T_Videos();
     t_Videos.id = id;
     t_Videos.title = title;
     t_Videos.description = description;
     t_Videos.upload_date = upload_date;
     t_Videos.uploader = uploader;
     return t_Videos;
 }