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.
 
 
 
 
 
 

32 lines
812 B

  1. using Learun.Application.Base.SystemModule;
  2. using System.Data.Entity.ModelConfiguration;
  3. namespace Learun.Application.Mapping
  4. {
  5. /// <summary>
  6. /// 版 本 Learun-ADMS V7.0.3 力软敏捷开发框架
  7. /// Copyright (c) 2013-2018 上海力软信息技术有限公司
  8. /// 创 建:超级管理员
  9. /// 日 期:2019-01-02 12:03
  10. /// 描 述:图片保存
  11. /// </summary>
  12. public class ImgMap : EntityTypeConfiguration<ImgEntity>
  13. {
  14. /// <summary>
  15. /// 映射
  16. /// </summary>
  17. public ImgMap()
  18. {
  19. #region 表、主键
  20. //表
  21. this.ToTable("LR_BASE_IMG");
  22. //主键
  23. this.HasKey(t => t.F_Id);
  24. #endregion
  25. #region 配置关系
  26. #endregion
  27. }
  28. }
  29. }