/// <summary> /// Create a new Comentario object. /// </summary> /// <param name="idComentario">Initial value of the IdComentario property.</param> /// <param name="autor">Initial value of the Autor property.</param> /// <param name="idPost">Initial value of the IdPost property.</param> /// <param name="fecha">Initial value of the Fecha property.</param> public static Comentario CreateComentario(global::System.Int32 idComentario, global::System.String autor, global::System.Int32 idPost, global::System.DateTime fecha) { Comentario comentario = new Comentario(); comentario.IdComentario = idComentario; comentario.Autor = autor; comentario.IdPost = idPost; comentario.Fecha = fecha; return comentario; }
/// <summary> /// Deprecated Method for adding a new object to the Comentarios EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToComentarios(Comentario comentario) { base.AddObject("Comentarios", comentario); }