Converted the project in C#, added Entity Framework Core.

This commit is contained in:
Samuele Lorefice
2023-11-06 20:38:28 +01:00
parent 0685bc33ce
commit f37998ca9f
27 changed files with 748 additions and 796 deletions

14
User.cs Normal file
View File

@@ -0,0 +1,14 @@
namespace IsleBot;
public class User
{
public int Id { get; private set; }
public string UserName { get; set; }
public List<Card> Cards { get; set; }
public User(int id, string userName) {
Id = id;
UserName = userName;
Cards = new List<Card>();
}
}