Adds custom mapper for SqlCe for Image column, hopefully tests pass now.

This commit is contained in:
Shannon
2020-07-06 16:25:15 +10:00
parent a634c0b835
commit 1280235dcf
4 changed files with 72 additions and 7 deletions

View File

@@ -1325,7 +1325,7 @@ namespace Umbraco.Web.PublishedCache.NuCache
"SET data=@data, dataRaw=@dataRaw, rv=rv+1 WHERE nodeId=@id AND published=@published",
new
{
dataRaw = dto.RawData,
dataRaw = dto.RawData ?? Array.Empty<byte>(),
data = dto.Data,
id = dto.NodeId,
published = dto.Published