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.
 
 
 
 
 
 

23 lines
540 B

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