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#

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