예제 #1
0
 /// <summary>
 /// Create a new Comments object.
 /// </summary>
 /// <param name="commentID">Initial value of the CommentID property.</param>
 public static Comments CreateComments(global::System.Int32 commentID)
 {
     Comments comments = new Comments();
     comments.CommentID = commentID;
     return comments;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Comments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToComments(Comments comments)
 {
     base.AddObject("Comments", comments);
 }