Files
DbFirst/DbFirst.Infrastructure/Mappings/CatalogInfrastructureProfile.cs
OlgunR ccd97fe9d6 Refactor catalog CRUD to use stored procedures only
Removed direct usage of TbmyCatalog entity and DbSet. All create, update, and delete operations now use stored procedures. Entity lookups and mappings are performed via the VwmyCatalog view. Updated AutoMapper profile and DbContext configuration accordingly. Catalog creation now sets ChangedWho/ChangedWhen to "system" and current UTC time.
2026-01-14 12:50:58 +01:00

14 lines
300 B
C#

using AutoMapper;
using DbFirst.Domain.DomainEntities;
using DbFirst.Infrastructure.ScaffoldEntities;
namespace DbFirst.Infrastructure.Mappings;
public class CatalogInfrastructureProfile : Profile
{
public CatalogInfrastructureProfile()
{
CreateMap<VwmyCatalog, Catalog>();
}
}