Randoom a Michael Friis production

Posts Tagged NHibernate

Compressed string storage with NHibernate

This blog post demonstrates how to use a IUserType to make NHibernate┬ácompress strings before storing them. It also shows how to use an AttributeConvention to configure the relevant type mapping. By compressing strings before storing them you can save storage space and potentially speed up your app because fewer bits are moved on and off […]