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#
26 lines
588 B
C#
using Chloe.Entity;
|
|
using DNSD_DB.Entity;
|
|
|
|
namespace DNSD_DB.Mapper
|
|
{
|
|
|
|
public class RFIDConfigEntityMap : EntityTypeBuilder<RFIDConfigEntity>
|
|
{
|
|
public RFIDConfigEntityMap()
|
|
{
|
|
|
|
this.MapTo("RFIDConfigEntity");
|
|
this.Property(a => a.ID).IsAutoIncrement().IsPrimaryKey();
|
|
}
|
|
}
|
|
|
|
public class RFIDLogsEntityMap : EntityTypeBuilder<RFIDLogsEntity>
|
|
{
|
|
public RFIDLogsEntityMap()
|
|
{
|
|
|
|
this.MapTo("RFIDLogsEntity");
|
|
this.Property(a => a.ID).IsAutoIncrement().IsPrimaryKey();
|
|
}
|
|
}
|
|
} |