Sep 25, 2013 at 8:16 PM
Edited Sep 25, 2013 at 8:17 PM
I can see that there is an open Issue on this (https://fluentdata.codeplex.com/workitem/1753
), but I cannot figure out how to work around this problem.
imageOverride.ID = this.context.Insert("ImageOverrides")
imageOverride.Image is a byte array (byte).
I want to store that array into a column in my DB.
But FluentData, probably due to ReflectionHelper.IsList(value) returning true for a byte array, is calling DbCommand.AddListParameterToInnerCommand() rather than DbCommand.AddParameterToInnerCommand().
Is there any way to force FluentData to see the byte array as a single item to put into 1 column in my DB?
I just moved off NHibernate to FluentData (because I hate NHibernate), and I really don't want to have to go back, but if there is no workaround for this, I will have to undo all the work that I have done...