ModuleFormMap.cs 716 B

1234567891011121314151617181920212223242526272829
  1. using Lottomat.Application.Entity.AuthorizeManage;
  2. using System.Data.Entity.ModelConfiguration;
  3. namespace Lottomat.Application.Mapping.AuthorizeManage
  4. {
  5. /// <summary>
  6. /// 版 本 1.0
  7. /// Copyright (c) 2016-2017
  8. /// 创建人:赵轶
  9. /// 日 期:2016.04.14 09:16
  10. /// 描 述:系统表单
  11. /// </summary>
  12. public class ModuleFormMap : EntityTypeConfiguration<ModuleFormEntity>
  13. {
  14. public ModuleFormMap()
  15. {
  16. #region 表、主键
  17. //表
  18. this.ToTable("Base_ModuleForm");
  19. //主键
  20. this.HasKey(t => t.FormId);
  21. #endregion
  22. #region 配置关系
  23. #endregion
  24. }
  25. }
  26. }