摘要: CreateMap<Temp_ProductImage, ProductImage>() .ForMember(x => x.Id, opt => opt.Ignore()); CreateMap<Temp_Product, Product>() .ForMember(x => x.ProductI 阅读全文
posted @ 2020-10-27 22:07 yomi丶 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 引用包Microsoft.EntityFrameworkCore.Proxies protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.UseLazyLoading 阅读全文
posted @ 2020-10-27 21:55 yomi丶 阅读(617) 评论(0) 推荐(0) 编辑