//Metodo de inserção de um novo Post
    public void InserirPost(modeloPost post)
    {
        tabPost newPost = new tabPost();
        newPost.titulo = post.Titulo;
        newPost.autor = post.Autor;
        newPost.conteudo = post.Conteudo;
        newPost.data = post.Data;
        newPost.status = post.Status;

        dbBlog.tabPosts.InsertOnSubmit(newPost);
        dbBlog.SubmitChanges();
    }
 partial void UpdatetabPost(tabPost instance);
 partial void DeletetabPost(tabPost instance);
 partial void InserttabPost(tabPost instance);