Remove test entity

This commit is contained in:
Daniel_I_Am 2020-06-08 20:51:11 +02:00
parent 155c9b4e77
commit 17170962b1
No known key found for this signature in database
GPG Key ID: 80C428FCC9743E84

View File

@ -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<TestEntity> Query()
{
return BaseEntity.Query<TestEntity>();
}
public override void SetFromRow(DataRow row)
{
id = (long)row["id"];
}
}
}