Browse Source

修改 忽略审计字段映射

dev_pda
郑勃旭 2 years ago
parent
commit
80f567d6b5
  1. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/AQLs/AQLAutoMapperProfile.cs
  2. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Areas/AreaAutoMapperProfile.cs
  3. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Boms/BomAutoMapperProfile.cs
  4. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Calendars/CalendarAutoMapperProfile.cs
  5. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Categories/CategoryAutoMapperProfile.cs
  6. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Currencies/CurrencyAutoMapperProfile.cs
  7. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Currencies/CurrencyExchangeAutoMapperProfile.cs
  8. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/CustomerAddresses/CustomerAddressAutoMapperProfile.cs
  9. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/CustomerItems/CustomerItemAutoMapperProfile.cs
  10. 2
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Dicts/DictAutoMapperProfile.cs
  11. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Docks/DockAutoMapperProfile.cs
  12. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ErpLocations/ErpLocationAutoMapperProfile.cs
  13. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemCategories/ItemCategoryAutoMapperProfile.cs
  14. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemGuideBooks/ItemGuideBookAutoMapperProfile.cs
  15. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemPacks/ItemPackAutoMapperProfile.cs
  16. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemQualities/ItemQualityAutoMapperProfile.cs
  17. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemSafetyStocks/ItemSafetyStockAutoMapperProfile.cs
  18. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemStoreRelations/ItemStoreRelationAutoMapperProfile.cs
  19. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Items/ItemBasicAutoMapperProfile.cs
  20. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/LocationGroups/LocationGroupAutoMapperProfile.cs
  21. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Locations/LocationAutoMapperProfile.cs
  22. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Machines/MachineAutoMapperProfile.cs
  23. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLineItems/ProductionLineItemAutoMapperProfile.cs
  24. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLines/ProductionLineAutoMapperProfile.cs
  25. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Projects/ProjectAutoMapperProfile.cs
  26. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PurchasePrices/PurchasePriceSheetAutoMapperProfile.cs
  27. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SalePrices/SalePriceSheetAutoMapperProfile.cs
  28. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Shifts/ShiftAutoMapperProfile.cs
  29. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/StdCostPrices/StdCostPriceSheetAutoMapperProfile.cs
  30. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SupplierItems/SupplierItemAutoMapperProfile.cs
  31. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SupplierTimeWindows/SupplierTimeWindowAutoMapperProfile.cs
  32. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Suppliers/SupplierAutoMapperProfile.cs
  33. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Teams/TeamAutoMapperProfile.cs
  34. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/TransactionTypes/TransactionTypeAutoMapperProfile.cs
  35. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Uoms/UomAutoMapperProfile.cs
  36. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Warehouses/WarehouseAutoMapperProfile.cs
  37. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkCenters/WorkCenterAutoMapperProfile.cs
  38. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkGroups/WorkGroupAutoMapperProfile.cs
  39. 1
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkShops/WorkShopAutoMapperProfile.cs

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/AQLs/AQLAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void AQLAutoMapperProfile() private void AQLAutoMapperProfile()
{ {
CreateMap<AQL, AQLDTO>() CreateMap<AQL, AQLDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<AQLImportInput, AQL>() CreateMap<AQLImportInput, AQL>()
.IgnoreAuditedObjectProperties() .IgnoreAuditedObjectProperties()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Areas/AreaAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void AreaAutoMapperProfile() private void AreaAutoMapperProfile()
{ {
CreateMap<Area, AreaDTO>() CreateMap<Area, AreaDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<AreaImportInput, Area>() CreateMap<AreaImportInput, Area>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Boms/BomAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void BomAutoMapperProfile() private void BomAutoMapperProfile()
{ {
CreateMap<Bom, BomDTO>() CreateMap<Bom, BomDTO>()
.IgnoreAuditedObjectProperties()
.Ignore(t => t.ComponentDTOs) .Ignore(t => t.ComponentDTOs)
.ForMember(x => x.ComponentQty, y => y.MapFrom(d => d.ComponentQty)) .ForMember(x => x.ComponentQty, y => y.MapFrom(d => d.ComponentQty))
.ForMember(x => x.ComponentUom, y => y.MapFrom(d => d.ComponentUom)) .ForMember(x => x.ComponentUom, y => y.MapFrom(d => d.ComponentUom))

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Calendars/CalendarAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void CalendarAutoMapperProfile() private void CalendarAutoMapperProfile()
{ {
CreateMap<Calendar, CalendarDTO>() CreateMap<Calendar, CalendarDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<CalendarImportInput, Calendar>() CreateMap<CalendarImportInput, Calendar>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Categories/CategoryAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void CategoryAutoMapperProfile() private void CategoryAutoMapperProfile()
{ {
CreateMap<Category, CategoryDTO>() CreateMap<Category, CategoryDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<CategoryImportInput, Category>() CreateMap<CategoryImportInput, Category>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Currencies/CurrencyAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void CurrencyAutoMapperProfile() private void CurrencyAutoMapperProfile()
{ {
CreateMap<Currency, CurrencyDTO>() CreateMap<Currency, CurrencyDTO>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.Enabled) .Ignore(x => x.Enabled)
.ReverseMap(); .ReverseMap();
} }

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Currencies/CurrencyExchangeAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void CurrencyExchangeAutoMapperProfile() private void CurrencyExchangeAutoMapperProfile()
{ {
CreateMap<CurrencyExchange, CurrencyExchangeDTO>() CreateMap<CurrencyExchange, CurrencyExchangeDTO>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.CurrencyName) .Ignore(x => x.CurrencyName)
.Ignore(x => x.BasicCurrencyName) .Ignore(x => x.BasicCurrencyName)
.Ignore(x => x.Enabled) .Ignore(x => x.Enabled)

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/CustomerAddresses/CustomerAddressAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void CustomerAddressAutoMapperProfile() private void CustomerAddressAutoMapperProfile()
{ {
CreateMap<CustomerAddress, CustomerAddressDTO>() CreateMap<CustomerAddress, CustomerAddressDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<CustomerAddressImportInput, CustomerAddress>() CreateMap<CustomerAddressImportInput, CustomerAddress>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/CustomerItems/CustomerItemAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void CustomerItemAutoMapperProfile() private void CustomerItemAutoMapperProfile()
{ {
CreateMap<CustomerItem, CustomerItemDTO>() CreateMap<CustomerItem, CustomerItemDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<CustomerItemImportInput, CustomerItem>() CreateMap<CustomerItemImportInput, CustomerItem>()

2
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Dicts/DictAutoMapperProfile.cs

@ -10,7 +10,7 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void DictAutoMapperProfile() private void DictAutoMapperProfile()
{ {
CreateMap<Dict, DictDTO>() CreateMap<Dict, DictDTO>()
.IgnoreAuditedObjectProperties(); ;
CreateMap<DictItem, DictItemDTO>() CreateMap<DictItem, DictItemDTO>()
.IgnoreAuditedObjectProperties(); .IgnoreAuditedObjectProperties();

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Docks/DockAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void DockAutoMapperProfile() private void DockAutoMapperProfile()
{ {
CreateMap<Dock, DockDTO>() CreateMap<Dock, DockDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<DockImportInput, Dock>() CreateMap<DockImportInput, Dock>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ErpLocations/ErpLocationAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void ErpLocationAutoMapperProfile() private void ErpLocationAutoMapperProfile()
{ {
CreateMap<ErpLocation, ErpLocationDTO>() CreateMap<ErpLocation, ErpLocationDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<ErpLocationImportInput, ErpLocation>() CreateMap<ErpLocationImportInput, ErpLocation>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemCategories/ItemCategoryAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void ItemCategoryAutoMapperProfile() private void ItemCategoryAutoMapperProfile()
{ {
CreateMap<ItemCategory, ItemCategoryDTO>() CreateMap<ItemCategory, ItemCategoryDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<ItemCategoryImportInput, ItemCategory>() CreateMap<ItemCategoryImportInput, ItemCategory>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemGuideBooks/ItemGuideBookAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void ItemGuideBookAutoMapperProfile() private void ItemGuideBookAutoMapperProfile()
{ {
CreateMap<ItemGuideBook, ItemGuideBookDTO>() CreateMap<ItemGuideBook, ItemGuideBookDTO>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.ItemName).Ignore(x => x.ItemDesc1).Ignore(x => x.ItemDesc2) .Ignore(x => x.ItemName).Ignore(x => x.ItemDesc1).Ignore(x => x.ItemDesc2)
.ReverseMap(); .ReverseMap();

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemPacks/ItemPackAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void ItemPackAutoMapperProfile() private void ItemPackAutoMapperProfile()
{ {
CreateMap<ItemPack, ItemPackDTO>() CreateMap<ItemPack, ItemPackDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<ItemPackImportInput, ItemPack>() CreateMap<ItemPackImportInput, ItemPack>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemQualities/ItemQualityAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void ItemQualityAutoMapperProfile() private void ItemQualityAutoMapperProfile()
{ {
CreateMap<ItemQuality, ItemQualityDTO>() CreateMap<ItemQuality, ItemQualityDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<ItemQualityImportInput, ItemQuality>() CreateMap<ItemQualityImportInput, ItemQuality>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemSafetyStocks/ItemSafetyStockAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void ItemSafetyStockAutoMapperProfile() private void ItemSafetyStockAutoMapperProfile()
{ {
CreateMap<ItemSafetyStock, ItemSafetyStockDTO>() CreateMap<ItemSafetyStock, ItemSafetyStockDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<ItemSafetyStockImportInput, ItemSafetyStock>() CreateMap<ItemSafetyStockImportInput, ItemSafetyStock>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemStoreRelations/ItemStoreRelationAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void ItemStoreRelationAutoMapperProfile() private void ItemStoreRelationAutoMapperProfile()
{ {
CreateMap<ItemStoreRelation, ItemStoreRelationDTO>() CreateMap<ItemStoreRelation, ItemStoreRelationDTO>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.LocationCode) .Ignore(x => x.LocationCode)
.ReverseMap(); .ReverseMap();

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Items/ItemBasicAutoMapperProfile.cs

@ -11,7 +11,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
{ {
CreateMap<ItemBasic, ItemBasicDTO>() CreateMap<ItemBasic, ItemBasicDTO>()
.Ignore(x => x.ItemCategoryDictionary) .Ignore(x => x.ItemCategoryDictionary)
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<ItemBasicImportInput, ItemBasic>() CreateMap<ItemBasicImportInput, ItemBasic>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/LocationGroups/LocationGroupAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void LocationGroupAutoMapperProfile() private void LocationGroupAutoMapperProfile()
{ {
CreateMap<LocationGroup, LocationGroupDTO>() CreateMap<LocationGroup, LocationGroupDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<LocationGroupImportInput, LocationGroup>() CreateMap<LocationGroupImportInput, LocationGroup>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Locations/LocationAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void LocationAutoMapperProfile() private void LocationAutoMapperProfile()
{ {
CreateMap<Location, LocationDTO>() CreateMap<Location, LocationDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<LocationImportInput, Location>() CreateMap<LocationImportInput, Location>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Machines/MachineAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void MachineAutoMapperProfile() private void MachineAutoMapperProfile()
{ {
CreateMap<Machine, MachineDTO>() CreateMap<Machine, MachineDTO>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.ProdLineName) .Ignore(x => x.ProdLineName)
.Ignore(x => x.WorkStationName) .Ignore(x => x.WorkStationName)
.ReverseMap(); .ReverseMap();

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLineItems/ProductionLineItemAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void ProductionLineItemAutoMapperProfile() private void ProductionLineItemAutoMapperProfile()
{ {
CreateMap<ProductionLineItem, ProductionLineItemDTO>() CreateMap<ProductionLineItem, ProductionLineItemDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<ProductionLineItemImportInput, ProductionLineItem>() CreateMap<ProductionLineItemImportInput, ProductionLineItem>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLines/ProductionLineAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void ProductionLineAutoMapperProfile() private void ProductionLineAutoMapperProfile()
{ {
CreateMap<ProductionLine, ProductionLineDTO>() CreateMap<ProductionLine, ProductionLineDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<ProductionLineImportInput, ProductionLine>() CreateMap<ProductionLineImportInput, ProductionLine>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Projects/ProjectAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void ProjectAutoMapperProfile() private void ProjectAutoMapperProfile()
{ {
CreateMap<Project, ProjectDTO>() CreateMap<Project, ProjectDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<ProjectImportInput, Project>() CreateMap<ProjectImportInput, Project>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PurchasePrices/PurchasePriceSheetAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void PurchasePriceSheetAutoMapperProfile() private void PurchasePriceSheetAutoMapperProfile()
{ {
CreateMap<PurchasePriceSheet, PurchasePriceSheetDTO>() CreateMap<PurchasePriceSheet, PurchasePriceSheetDTO>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.SupplierName) .Ignore(x => x.SupplierName)
.Ignore(x => x.CurrencyName) .Ignore(x => x.CurrencyName)
.ReverseMap(); .ReverseMap();

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SalePrices/SalePriceSheetAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void SalePriceSheetAutoMapperProfile() private void SalePriceSheetAutoMapperProfile()
{ {
CreateMap<SalePriceSheet, SalePriceSheetDTO>() CreateMap<SalePriceSheet, SalePriceSheetDTO>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.CustomerName) .Ignore(x => x.CustomerName)
.Ignore(x => x.CurrencyName) .Ignore(x => x.CurrencyName)
.ReverseMap(); .ReverseMap();

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Shifts/ShiftAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void ShiftAutoMapperProfile() private void ShiftAutoMapperProfile()
{ {
CreateMap<Shift, ShiftDTO>() CreateMap<Shift, ShiftDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<ShiftImportInput, Shift>() CreateMap<ShiftImportInput, Shift>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/StdCostPrices/StdCostPriceSheetAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void StdCostPriceSheetAutoMapperProfile() private void StdCostPriceSheetAutoMapperProfile()
{ {
CreateMap<StdCostPriceSheet, StdCostPriceSheetDTO>() CreateMap<StdCostPriceSheet, StdCostPriceSheetDTO>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.SupplierName) .Ignore(x => x.SupplierName)
.Ignore(x => x.CurrencyName) .Ignore(x => x.CurrencyName)
.ReverseMap(); .ReverseMap();

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SupplierItems/SupplierItemAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void SupplierItemAutoMapperProfile() private void SupplierItemAutoMapperProfile()
{ {
CreateMap<SupplierItem, SupplierItemDTO>() CreateMap<SupplierItem, SupplierItemDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<SupplierItemImportInput, SupplierItem>() CreateMap<SupplierItemImportInput, SupplierItem>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SupplierTimeWindows/SupplierTimeWindowAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void SupplierTimeWindowAutoMapperProfile() private void SupplierTimeWindowAutoMapperProfile()
{ {
CreateMap<SupplierTimeWindow, SupplierTimeWindowDTO>() CreateMap<SupplierTimeWindow, SupplierTimeWindowDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<SupplierTimeWindowImportInput, SupplierTimeWindow>() CreateMap<SupplierTimeWindowImportInput, SupplierTimeWindow>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Suppliers/SupplierAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void SupplierAutoMapperProfile() private void SupplierAutoMapperProfile()
{ {
CreateMap<Supplier, SupplierDTO>() CreateMap<Supplier, SupplierDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<SupplierImportInput, Supplier>() CreateMap<SupplierImportInput, Supplier>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Teams/TeamAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void TeamAutoMapperProfile() private void TeamAutoMapperProfile()
{ {
CreateMap<Team, TeamDTO>() CreateMap<Team, TeamDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<TeamImportInput, Team>() CreateMap<TeamImportInput, Team>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/TransactionTypes/TransactionTypeAutoMapperProfile.cs

@ -13,7 +13,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void TransactionTypeAutoMapperProfile() private void TransactionTypeAutoMapperProfile()
{ {
CreateMap<TransactionType, TransactionTypeDTO>() CreateMap<TransactionType, TransactionTypeDTO>()
.IgnoreAuditedObjectProperties()
.ForMember(x => x.InLocationTypes, y => y.MapFrom(d => d.InLocationTypes.GetEnumList<EnumLocationType>(","))) .ForMember(x => x.InLocationTypes, y => y.MapFrom(d => d.InLocationTypes.GetEnumList<EnumLocationType>(",")))
.ForMember(x => x.OutLocationTypes, y => y.MapFrom(d => d.OutLocationTypes.GetEnumList<EnumLocationType>(","))) .ForMember(x => x.OutLocationTypes, y => y.MapFrom(d => d.OutLocationTypes.GetEnumList<EnumLocationType>(",")))
.ForMember(x => x.InLocationAreas, y => y.MapFrom(d => d.InLocationAreas.Split(",", StringSplitOptions.RemoveEmptyEntries).ToList())) .ForMember(x => x.InLocationAreas, y => y.MapFrom(d => d.InLocationAreas.Split(",", StringSplitOptions.RemoveEmptyEntries).ToList()))

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Uoms/UomAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void UomAutoMapperProfile() private void UomAutoMapperProfile()
{ {
CreateMap<Uom, UomDTO>() CreateMap<Uom, UomDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<UomImportInput, Uom>() CreateMap<UomImportInput, Uom>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Warehouses/WarehouseAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void WarehouseAutoMapperProfile() private void WarehouseAutoMapperProfile()
{ {
CreateMap<Warehouse, WarehouseDTO>() CreateMap<Warehouse, WarehouseDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
} }
} }

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkCenters/WorkCenterAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void WorkStationAutoMapperProfile() private void WorkStationAutoMapperProfile()
{ {
CreateMap<WorkStation, WorkStationDTO>() CreateMap<WorkStation, WorkStationDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
} }
} }

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkGroups/WorkGroupAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void WorkGroupAutoMapperProfile() private void WorkGroupAutoMapperProfile()
{ {
CreateMap<WorkGroup, WorkGroupDTO>() CreateMap<WorkGroup, WorkGroupDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<WorkGroupImportInput, WorkGroup>() CreateMap<WorkGroupImportInput, WorkGroup>()

1
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkShops/WorkShopAutoMapperProfile.cs

@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
private void WorkShopAutoMapperProfile() private void WorkShopAutoMapperProfile()
{ {
CreateMap<WorkShop, WorkShopDTO>() CreateMap<WorkShop, WorkShopDTO>()
.IgnoreAuditedObjectProperties()
.ReverseMap(); .ReverseMap();
CreateMap<WorkShopImportInput, WorkShop>() CreateMap<WorkShopImportInput, WorkShop>()

Loading…
Cancel
Save