Read-only data in NHibernate
Was just browsing the NHibernate forum and read something I didn't know yet... if you have read-only data, you can declare the class as immutable:
from the NHibernate documentation:
Immutable classes, mutable="false", may not be updated or deleted by the application. This allows NHibernate to make some minor performance optimizations.
Even if it's only a minor optimization, it's still a nice feature :)
Written by Davy Brion, published on 8/2/2007 8:26:46 AM
Categories:
nhibernate
« Introduction to Dependency Injection Tech Blogs: The good, the bad and the ugly »
comments powered by Disqus