MapperNoKey.cs 579 B

1234567891011121314151617181920
  1. using BO.AppServer.Data.Entity;
  2. using BO.AppServer.Metadata.Dto;
  3. using Quadarax.Foundation.Core.Data.Entity;
  4. using Quadarax.Foundation.Core.Data.Interface.Entity;
  5. namespace BO.AppServer.Business.Mapper
  6. {
  7. public class MapperNoKey : Quadarax.Foundation.Core.Data.Mapper.Mapper<MapperNoKey>
  8. {
  9. public MapperNoKey()
  10. {
  11. }
  12. public void DefineBiDirection<TDao, TDto>()
  13. where TDao : class, IDao<NoKey>, new()
  14. where TDto : class, IDto, new()
  15. {
  16. DefineBiDirection<TDao, TDto, NoKey>();
  17. }
  18. }
  19. }