OrmLite Support saving of PhysicalAddress
Saving classes with properties of type PhysicalAddress does not work. The reason should be the serialization:
[Test]
public void JsvStringSerializerWorksForPhysicalAddress()
{
var address = PhysicalAddress.Parse("0123456789AB");
var serializer = new JsvStringSerializer();
var result = serializer.SerializeToString(address);
StringAssert.Contains("0123456789AB", result);
}
1
vote

-
Jacob Smit commented
Could this not be done with a Type Converter?
https://github.com/ServiceStack/ServiceStack.OrmLite/wiki/OrmLite-Type-Converters
Maybe not be ideal, but it might help in the mean time.