title: Find Underlying Column Size Via NHibernate Metadata
body: <p>Is there a way to use <code>SessionFactory.GetClassMetadata()</code>, or any other method you're aware of, to dynamically get the maximum size of a <code>varchar</code> column that underlies an NHibernate class' string property?</p>
  
  <p>To clarify, I'm not looking to read a length attribute that's specified in the NHibernate mapping file.  I want to deduce the actual database column length.</p>