reworked project structure, removed entityframework, add mysqlconnector

This commit is contained in:
2022-05-09 14:07:55 +02:00
parent cf27b19087
commit 66fe1206e9
4 changed files with 15 additions and 13 deletions

View File

@@ -8,9 +8,17 @@ namespace it_projekt
{
class Person
{
public int Id { get; set; }
public string Id { get; set; }
public string Lastname { get; set; }
public string Firstname { get; set; }
public DateTime CreationDate { get; set; }
public Person(string Id, string Lastname, string Firstname, DateTime CreationDate)
{
this.Id = Id;
this.Lastname = Lastname;
this.Firstname = Firstname;
this.CreationDate = CreationDate;
}
}
}