You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
588 B
C#

6 months ago
using Chloe.Entity;
using DNSD_DB.Entity;
6 months ago
namespace DNSD_DB.Mapper
6 months ago
{
public class RFIDConfigEntityMap : EntityTypeBuilder<RFIDConfigEntity>
6 months ago
{
public RFIDConfigEntityMap()
6 months ago
{
this.MapTo("RFIDConfigEntity");
6 months ago
this.Property(a => a.ID).IsAutoIncrement().IsPrimaryKey();
}
6 months ago
}
6 months ago
public class RFIDLogsEntityMap : EntityTypeBuilder<RFIDLogsEntity>
6 months ago
{
public RFIDLogsEntityMap()
6 months ago
{
this.MapTo("RFIDLogsEntity");
6 months ago
this.Property(a => a.ID).IsAutoIncrement().IsPrimaryKey();
}
}
6 months ago
}