/// <summary> /// Create a new BlogPostComment object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="comment">Initial value of the Comment property.</param> /// <param name="blogPostId">Initial value of the BlogPostId property.</param> /// <param name="date">Initial value of the Date property.</param> public static BlogPostComment CreateBlogPostComment(global::System.Int32 id, global::System.String comment, global::System.Int32 blogPostId, global::System.DateTime date) { BlogPostComment blogPostComment = new BlogPostComment(); blogPostComment.Id = id; blogPostComment.Comment = comment; blogPostComment.BlogPostId = blogPostId; blogPostComment.Date = date; return blogPostComment; }
/// <summary> /// Deprecated Method for adding a new object to the BlogPostComments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBlogPostComments(BlogPostComment blogPostComment) { base.AddObject("BlogPostComments", blogPostComment); }