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#

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