From 17170962b13f779e5b78156809af4e1de6c1bb35 Mon Sep 17 00:00:00 2001 From: Daniel-I-Am Date: Mon, 8 Jun 2020 20:51:11 +0200 Subject: [PATCH] Remove test entity --- ChaosBot/Database/Entity/TestEntity.cs | 29 -------------------------- 1 file changed, 29 deletions(-) delete mode 100644 ChaosBot/Database/Entity/TestEntity.cs diff --git a/ChaosBot/Database/Entity/TestEntity.cs b/ChaosBot/Database/Entity/TestEntity.cs deleted file mode 100644 index 195d59e..0000000 --- a/ChaosBot/Database/Entity/TestEntity.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Data; -using ChaosBot.Attribute; - -namespace ChaosBot.Database.Entity -{ - [DBEntity("TestTable")] - public class TestEntity : BaseEntity - { - public long id { get; private set; } - - public TestEntity() {} - - public TestEntity(int id) - { - this.id = id; - } - - public static QueryBuilder Query() - { - return BaseEntity.Query(); - } - - public override void SetFromRow(DataRow row) - { - id = (long)row["id"]; - } - } -} \ No newline at end of file