/// <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(Comment comment)
 {
     base.AddObject("Comments", comment);
 }
 /// <summary>
 /// Create a new Comment object.
 /// </summary>
 /// <param name="commentId">Initial value of the CommentId property.</param>
 /// <param name="comment1">Initial value of the Comment1 property.</param>
 /// <param name="photoId">Initial value of the PhotoId property.</param>
 public static Comment CreateComment(global::System.Int32 commentId, global::System.String comment1, global::System.Int32 photoId)
 {
     Comment comment = new Comment();
     comment.CommentId = commentId;
     comment.Comment1 = comment1;
     comment.PhotoId = photoId;
     return comment;
 }