/// <summary> /// Create a new comments object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="userid">Initial value of the userid property.</param> /// <param name="torrentid">Initial value of the torrentid property.</param> /// <param name="added">Initial value of the added property.</param> /// <param name="comment">Initial value of the comment property.</param> /// <param name="original_text">Initial value of the original_text property.</param> /// <param name="editedby">Initial value of the editedby property.</param> /// <param name="editedate">Initial value of the editedate property.</param> public static comments Createcomments(global::System.Int64 id, global::System.Int64 userid, global::System.Int64 torrentid, global::System.Int32 added, global::System.String comment, global::System.String original_text, global::System.Int64 editedby, global::System.Int32 editedate) { comments comments = new comments(); comments.id = id; comments.userid = userid; comments.torrentid = torrentid; comments.added = added; comments.comment = comment; comments.original_text = original_text; comments.editedby = editedby; comments.editedate = editedate; return comments; }
/// <summary> /// Deprecated Method for adding a new object to the comments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocomments(comments comments) { base.AddObject("comments", comments); }