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.

FileAuthMap.cs 507 B

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