/// <summary> /// There are no comments for PostVoting in the schema. /// </summary> public void AddToPostVoting(PostVoting postVoting) { base.AddObject("PostVoting", postVoting); }
/// <summary> /// Create a new PostVoting object. /// </summary> /// <param name="postVotingID">Initial value of PostVotingID.</param> /// <param name="rating">Initial value of Rating.</param> public static PostVoting CreatePostVoting(int postVotingID, int rating) { PostVoting postVoting = new PostVoting(); postVoting.PostVotingID = postVotingID; postVoting.Rating = rating; return postVoting; }