AppendixMap.cs 445 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data.Entity.ModelConfiguration;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace GreenTree.Nachtragsmanagement.Data.Mapping.Appendix
  8. {
  9. public class AppendixMap : EntityTypeConfiguration<Core.Domain.Appendix.Appendix>
  10. {
  11. public AppendixMap()
  12. {
  13. ToTable("Appendix");
  14. HasKey(a => a.Id);
  15. }
  16. }
  17. }