Initial commit

This commit is contained in:
Daniel Cortes
2020-05-22 01:32:58 -04:00
commit 7fbf91f8b1
319 changed files with 285697 additions and 0 deletions

36
DAL/Post.cs Executable file
View File

@@ -0,0 +1,36 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Este código se generó a partir de una plantilla.
//
// Los cambios manuales en este archivo pueden causar un comportamiento inesperado de la aplicación.
// Los cambios manuales en este archivo se sobrescribirán si se regenera el código.
// </auto-generated>
//------------------------------------------------------------------------------
namespace DAL
{
using System;
using System.Collections.Generic;
public partial class Post
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Post()
{
this.comentarios = new HashSet<Comentario>();
this.votos = new HashSet<Voto>();
}
public int id { get; set; }
public string title { get; set; }
public string markdown { get; set; }
public int user_id { get; set; }
public string html { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Comentario> comentarios { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Voto> votos { get; set; }
public virtual User user { get; set; }
}
}