/// <summary> /// Deprecated Method for adding a new object to the torrents_files EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotorrents_files(torrents_files torrents_files) { base.AddObject("torrents_files", torrents_files); }
/// <summary> /// Create a new torrents_files object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="torrentid">Initial value of the torrentid property.</param> /// <param name="filename">Initial value of the filename property.</param> /// <param name="filesize">Initial value of the filesize property.</param> public static torrents_files Createtorrents_files(global::System.Int64 id, global::System.Int64 torrentid, global::System.String filename, global::System.Decimal filesize) { torrents_files torrents_files = new torrents_files(); torrents_files.id = id; torrents_files.torrentid = torrentid; torrents_files.filename = filename; torrents_files.filesize = filesize; return torrents_files; }