Наследование: System.Data.Objects.DataClasses.EntityObject
Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Comment EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToComment(Comment comment)
 {
     base.AddObject("Comment", comment);
 }
Пример #2
0
 /// <summary>
 /// Create a new Comment object.
 /// </summary>
 /// <param name="commentId">Initial value of the CommentId property.</param>
 public static Comment CreateComment(global::System.Int32 commentId)
 {
     Comment comment = new Comment();
     comment.CommentId = commentId;
     return comment;
 }