public virtual void AddPost(Post post) { if (!this.posts.Contains(post)) { this.posts.Add(post); post.Blog = this; } }