Inheritance: System.Data.Objects.DataClasses.EntityObject
Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CommentVote EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCommentVote(CommentVote commentVote)
 {
     base.AddObject("CommentVote", commentVote);
 }
Exemplo n.º 2
0
 /// <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;
 }