using Learun.Application.TwoDevelopment.Pk; using System.Data.Entity.ModelConfiguration; namespace Learun.Application.Mapping.PK { public class Pm_LessonscheduleverMap : EntityTypeConfiguration { public Pm_LessonscheduleverMap() { #region 表、主键 //表 this.ToTable("pm_lessonschedulever"); //主键 this.HasKey(t => t.id); #endregion #region 配置关系 #endregion } } }