/// <summary> /// Create a new BlogComments object. /// </summary> /// <param name="blogCommentID">Initial value of the BlogCommentID property.</param> /// <param name="moduleID">Initial value of the ModuleID property.</param> /// <param name="itemID">Initial value of the ItemID property.</param> /// <param name="comment">Initial value of the Comment property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> public static BlogComments CreateBlogComments(global::System.Int32 blogCommentID, global::System.Int32 moduleID, global::System.Int32 itemID, global::System.String comment, global::System.DateTime dateCreated) { BlogComments blogComments = new BlogComments(); blogComments.BlogCommentID = blogCommentID; blogComments.ModuleID = moduleID; blogComments.ItemID = itemID; blogComments.Comment = comment; blogComments.DateCreated = dateCreated; return blogComments; }
/// <summary> /// Deprecated Method for adding a new object to the BlogComments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBlogComments(BlogComments blogComments) { base.AddObject("BlogComments", blogComments); }