/// <summary>
 /// Create a new Comment object.
 /// </summary>
 /// <param name="commentId">Initial value of the CommentId property.</param>
 /// <param name="recipeId">Initial value of the RecipeId property.</param>
 /// <param name="commentText">Initial value of the CommentText property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 public static Comment CreateComment(global::System.Decimal commentId, global::System.Decimal recipeId, global::System.String commentText, global::System.DateTime dateCreated, global::System.String createdBy, global::System.Byte[] version)
 {
     Comment comment = new Comment();
     comment.CommentId = commentId;
     comment.RecipeId = recipeId;
     comment.CommentText = commentText;
     comment.DateCreated = dateCreated;
     comment.CreatedBy = createdBy;
     comment.Version = version;
     return comment;
 }
 /// <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);
 }