MapperKeyScalarDate.cs 659 B

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