Split LeafOutputFile content into different table for performance
This commit is contained in:
@@ -21,6 +21,8 @@ namespace LeafWeb.Core.Remote
|
||||
new MapperConfiguration(cfg =>
|
||||
{
|
||||
cfg.CreateMap<PiscalLeafOutputFile, LeafOutputFile>()
|
||||
.ForMember(dest => dest.FileContents, opt =>
|
||||
opt.ResolveUsing(src => new LeafOutputFileContents {Contents = src.Contents}))
|
||||
.ForMember(dest => dest.FileType, opt =>
|
||||
opt.ResolveUsing(src =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user