tags:

views:

44

answers:

0

I'm using a mapping of IList to array in NHibernate, and I want the array to always have constant, fixed size.

However, it is valid that some elements in the array are null. I noticed that in this case, NHibernate truncates the null elements at the end of the array.

How can I enforce it to always set the array to appropriate size when creating my entities?