/// <summary> /// Deprecated Method for adding a new object to the torrents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotorrents(torrents torrents) { base.AddObject("torrents", torrents); }
/// <summary> /// Create a new torrents object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="categoryid">Initial value of the categoryid property.</param> /// <param name="info_hash">Initial value of the info_hash property.</param> /// <param name="description">Initial value of the description property.</param> /// <param name="added">Initial value of the added property.</param> /// <param name="size">Initial value of the size property.</param> /// <param name="numfiles">Initial value of the numfiles property.</param> /// <param name="views">Initial value of the views property.</param> /// <param name="snatches">Initial value of the snatches property.</param> public static torrents Createtorrents(global::System.Int64 id, global::System.Int64 categoryid, global::System.String info_hash, global::System.String description, global::System.Int32 added, global::System.Decimal size, global::System.Int64 numfiles, global::System.Int64 views, global::System.Int64 snatches) { torrents torrents = new torrents(); torrents.id = id; torrents.categoryid = categoryid; torrents.info_hash = info_hash; torrents.description = description; torrents.added = added; torrents.size = size; torrents.numfiles = numfiles; torrents.views = views; torrents.snatches = snatches; return torrents; }