Replies: 1 comment
-
Maybe with an abstraction object which provide you the readonly behavior, the entity for database can be read and writeable. Then no custom type would be necessary. Alternative would be when |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It looks like NHibernate requires bytes set in IUserType.NullSafeSet to be a Byte array. Sometimes the underlying Byte array is not available and we only have read only collection or enumerable. So the only option is to perform a defensive copy which can be expensive for large arrays:
Beta Was this translation helpful? Give feedback.
All reactions