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#

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