/// <summary> /// Create a new blog_posts object. /// </summary> /// <param name="postId">Initial value of the PostId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="dataIns">Initial value of the DataIns property.</param> /// <param name="post">Initial value of the Post property.</param> /// <param name="blogCamiseteria">Initial value of the BlogCamiseteria property.</param> /// <param name="titulo">Initial value of the Titulo property.</param> /// <param name="draft">Initial value of the Draft property.</param> /// <param name="fechadoComentarios">Initial value of the FechadoComentarios property.</param> /// <param name="qtdComentarios">Initial value of the QtdComentarios property.</param> public static blog_posts Createblog_posts(global::System.Int32 postId, global::System.Int32 userId, global::System.DateTime dataIns, global::System.String post, global::System.Byte blogCamiseteria, global::System.String titulo, global::System.Byte draft, global::System.Byte fechadoComentarios, global::System.Int32 qtdComentarios) { blog_posts blog_posts = new blog_posts(); blog_posts.PostId = postId; blog_posts.UserId = userId; blog_posts.DataIns = dataIns; blog_posts.Post = post; blog_posts.BlogCamiseteria = blogCamiseteria; blog_posts.Titulo = titulo; blog_posts.Draft = draft; blog_posts.FechadoComentarios = fechadoComentarios; blog_posts.QtdComentarios = qtdComentarios; return blog_posts; }
/// <summary> /// Deprecated Method for adding a new object to the blog_posts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToblog_posts(blog_posts blog_posts) { base.AddObject("blog_posts", blog_posts); }