public Bericht(string tekst, Persoon auteur, DateTime datumGepost, int berichtSoort, int id) { this.tekst = tekst; this.auteur = auteur; this.datumGepost = datumGepost; this.berichtSoort = (BerichtSoort)berichtSoort; this.id = id; //reacties //rapportages //likes reacties = databaseKoppeling.AlleReactiesVanBericht(id.ToString()); rapportages = new List <Rapportage>(); likes = databaseKoppeling.AlleLikesVanBericht(id.ToString()); }