You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LogMap.cs 821 B

4 years ago
12345678910111213141516171819202122232425262728293031
  1. using Learun.Application.Base.SystemModule;
  2. using System.Data.Entity.ModelConfiguration;
  3. namespace Learun.Application.Mapping
  4. {
  5. /// <summary>
  6. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  7. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  8. /// 创建人:陈彬彬
  9. /// 日 期:2017.03.04
  10. /// 描 述:系统日志
  11. /// </summary>
  12. public class LogMap : EntityTypeConfiguration<LogEntity>
  13. {
  14. /// <summary>
  15. /// 系统日志映射
  16. /// </summary>
  17. public LogMap()
  18. {
  19. #region 表、主键
  20. //表
  21. this.ToTable("LR_BASE_LOG");
  22. //主键
  23. this.HasKey(t => t.F_LogId);
  24. #endregion
  25. #region 配置关系
  26. #endregion
  27. }
  28. }
  29. }