Split LeafOutputFile content into different table for performance

This commit is contained in:
2016-05-23 15:23:36 -04:00
parent 790e2494e3
commit 55f7b68bf8
21 changed files with 307 additions and 19 deletions
+2
View File
@@ -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 =>
{