using NFine.Domain.Entity.SystemManage; using System.Data.Entity.ModelConfiguration; namespace NFine.Mapping.SystemManage { public class RoleMap : EntityTypeConfiguration { public RoleMap() { this.ToTable("Sys_SRM_Role"); this.HasKey(t => t.F_Id); } } }