using Learun.Application.Organization; using System.Data.Entity.ModelConfiguration; namespace Learun.Application.Mapping { /// /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 /// Copyright (c) 2013-2018 北京泉江科技有限公司 /// 创建人:陈彬彬 /// 日 期:2017.03.04 /// 描 述:用户数据库实体映射 /// public class UserMap : EntityTypeConfiguration { /// /// 用户数据库实体映射 /// public UserMap() { #region 表、主键 //表 this.ToTable("LR_BASE_USER"); //主键 this.HasKey(t => t.F_UserId); #endregion #region 配置关系 #endregion } } }