/// <summary> /// Deprecated Method for adding a new object to the CommentVote EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCommentVote(CommentVote commentVote) { base.AddObject("CommentVote", commentVote); }
/// <summary> /// Create a new CommentVote object. /// </summary> /// <param name="commentVoteId">Initial value of the CommentVoteId property.</param> public static CommentVote CreateCommentVote(global::System.Int32 commentVoteId) { CommentVote commentVote = new CommentVote(); commentVote.CommentVoteId = commentVoteId; return commentVote; }