agileobjects / AgileMapper

A zero-configuration, highly-configurable, unopinionated object mapper with viewable execution plans. Flattens, unflattens, deep clones, merges, updates and projects queries. .NET 3.5+ and .NET Standard 1.0+.
MIT License
460 stars 27 forks source link

Convert object to byte array #228

Open bgaprogrammer opened 2 years ago

bgaprogrammer commented 2 years ago

Hello, I'm working on a mapping where I need to convert a property of an object (which is also a complex object) to be saved in the DB as byte[] (blob). I don't need the code to perform the transformation just some guidance on how should the mapper be configured to inject my custom transformation code for both transformation (forward and backward). Regards.