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.

DemoleaveMap.cs 517 B

4 years ago
123456789101112131415161718192021
  1. using Learun.Application.TwoDevelopment.SystemDemo;
  2. using System.Data.Entity.ModelConfiguration;
  3. namespace Learun.Application.Mapping
  4. {
  5. public class DemoleaveMap : EntityTypeConfiguration<DemoleaveEntity>
  6. {
  7. public DemoleaveMap()
  8. {
  9. #region 表、主键
  10. //表
  11. this.ToTable("LR_DEMO_FORMLEAVE");
  12. //主键
  13. this.HasKey(t => t.F_Id);
  14. #endregion
  15. #region 配置关系
  16. #endregion
  17. }
  18. }
  19. }