Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

DemoleaveMap.cs 517 B

4 lat temu
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. }