Approved
Last Updated: 30 Mar 2017 11:11 by John
ADMIN
Peshito
Created on: 29 Mar 2017 11:39
Category: PersistenceFramework
Type: Bug Report
1
PersistenceFramework: Property of type byte[] is not persisted in a CustomPropertyProviders scenario
PersistenceFramework does not persist property of type byte[] in CustomPropertyProvider scenario.

Use List<byte> as a workaround if applicable.
1 comment
John
Posted on: 30 Mar 2017 07:19
Note that using List<byte> as a workaround is not always possible e.g. where byte[] is being used for an entity Version property for Entity Framework optimistic concurrency checking. (See https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/getting-started-with-ef-using-mvc/handling-concurrency-with-the-entity-framework-in-an-asp-net-mvc-application)

Also, surely arrays are even more fundamental than Lists in terms of what should be supported for serialization?