/// <summary> /// Create a new Blog object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="siteID">Initial value of the SiteID property.</param> /// <param name="authorID">Initial value of the AuthorID property.</param> /// <param name="postedAt">Initial value of the PostedAt property.</param> /// <param name="commentCount">Initial value of the CommentCount property.</param> public static Blog CreateBlog(global::System.Int32 id, global::System.Int32 siteID, global::System.Int32 authorID, global::System.DateTime postedAt, global::System.Int32 commentCount) { Blog blog = new Blog(); blog.ID = id; blog.SiteID = siteID; blog.AuthorID = authorID; blog.PostedAt = postedAt; blog.CommentCount = commentCount; return blog; }
/// <summary> /// Deprecated Method for adding a new object to the Blogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBlogs(Blog blog) { base.AddObject("Blogs", blog); }