Tk_GalleryDetailMap.cs 738 B

123456789101112131415161718192021222324252627282930
  1. using Lottomat.Application.Entity.BaseManage;
  2. using Lottomat.Application.Entity.GalleryManage;
  3. using System.Data.Entity.ModelConfiguration;
  4. namespace Lottomat.Application.Mapping.GalleryManage
  5. {
  6. /// <summary>
  7. /// 版 本
  8. /// Copyright (c) 2016-2017
  9. /// 创 建:开发者账号
  10. /// 日 期:2017-10-19 14:29
  11. /// 描 述:图库详情表
  12. /// </summary>
  13. public class Tk_GalleryDetailMap : EntityTypeConfiguration<Tk_GalleryDetail>
  14. {
  15. public Tk_GalleryDetailMap()
  16. {
  17. #region 表、主键
  18. //表
  19. this.ToTable("Tk_GalleryDetail");
  20. //主键
  21. this.HasKey(t => t.ID);
  22. #endregion
  23. #region 配置关系
  24. #endregion
  25. }
  26. }
  27. }