Exemplo n.º 1
0
 /// <summary>
 /// Create a new BlogComentariosUsers object.
 /// </summary>
 /// <param name="blogComentarioId">Initial value of the BlogComentarioId property.</param>
 /// <param name="blogPostId">Initial value of the BlogPostId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="comentario">Initial value of the Comentario property.</param>
 /// <param name="aprovado">Initial value of the Aprovado property.</param>
 /// <param name="dataIns">Initial value of the DataIns property.</param>
 public static BlogComentariosUsers CreateBlogComentariosUsers(global::System.Int32 blogComentarioId, global::System.Int32 blogPostId, global::System.Int32 userId, global::System.String comentario, global::System.Byte aprovado, global::System.DateTime dataIns)
 {
     BlogComentariosUsers blogComentariosUsers = new BlogComentariosUsers();
     blogComentariosUsers.BlogComentarioId = blogComentarioId;
     blogComentariosUsers.BlogPostId = blogPostId;
     blogComentariosUsers.UserId = userId;
     blogComentariosUsers.Comentario = comentario;
     blogComentariosUsers.Aprovado = aprovado;
     blogComentariosUsers.DataIns = dataIns;
     return blogComentariosUsers;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the blog_comentarios_users EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToblog_comentarios_users(BlogComentariosUsers blogComentariosUsers)
 {
     base.AddObject("blog_comentarios_users", blogComentariosUsers);
 }