I agree, and it's what I'm trying to do. The "ProfilePicture" property is of type "Picture", who's a class (a Value Object, actually) that has a business meaning in my domain. Under the hood, it simply wraps a byte array, but it has also some business logic inside. With "keep everything as is" I mean keep my domain logic as is; I would like to change only the persistence logic, and let NHibernate deal with Blob Storage in a transparent way.
Alberto Il giorno mercoledì 28 agosto 2019 19:05:24 UTC+2, Gunnar Liljas ha scritto: > > I know you want to keep everything as is, but I strongly recommend that > you move the ProfilePicture storage to its own "service" instead. > > /G > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nhusers/55a48ef3-e0cc-4516-bdb3-73315c68b025%40googlegroups.com.
