Ejemplo n.º 1
0
 /// <summary>
 /// Create a new VideoLog object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="slug">Initial value of the Slug property.</param>
 /// <param name="episodeNumber">Initial value of the EpisodeNumber property.</param>
 /// <param name="fileName">Initial value of the FileName property.</param>
 /// <param name="fileSize">Initial value of the FileSize property.</param>
 /// <param name="usage">Initial value of the Usage property.</param>
 /// <param name="logDate">Initial value of the LogDate property.</param>
 /// <param name="bandwidthRate">Initial value of the BandwidthRate property.</param>
 public static VideoLog CreateVideoLog(global::System.Int32 id, global::System.String email, global::System.String slug, global::System.Int32 episodeNumber, global::System.String fileName, global::System.Int32 fileSize, global::System.String usage, global::System.DateTime logDate, global::System.Decimal bandwidthRate)
 {
     VideoLog videoLog = new VideoLog();
     videoLog.ID = id;
     videoLog.Email = email;
     videoLog.Slug = slug;
     videoLog.EpisodeNumber = episodeNumber;
     videoLog.FileName = fileName;
     videoLog.FileSize = fileSize;
     videoLog.Usage = usage;
     videoLog.LogDate = logDate;
     videoLog.BandwidthRate = bandwidthRate;
     return videoLog;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VideoLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVideoLogs(VideoLog videoLog)
 {
     base.AddObject("VideoLogs", videoLog);
 }