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.

24 lines
515 B
C#

using Chloe.Entity;
namespace DNSD_DB.Mapper
{
public class StudentMap:EntityTypeBuilder<Student>
{
public StudentMap()
{
this.MapTo("Student");
this.Property(a => a.ID).IsAutoIncrement().IsPrimaryKey();
}
}
public class RfidSettingMap : EntityTypeBuilder<RfidSetting>
{
public RfidSettingMap()
{
this.MapTo("RfidSetting");
this.Property(a => a.ID).IsAutoIncrement().IsPrimaryKey();
}
}
}