From: <fab...@us...> - 2008-09-18 11:41:08
|
Revision: 3763 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=3763&view=rev Author: fabiomaulo Date: 2008-09-18 18:41:18 +0000 (Thu, 18 Sep 2008) Log Message: ----------- Fix NH-1305 Modified Paths: -------------- trunk/nhibernate/src/NHibernate/Cfg/Configuration.cs Modified: trunk/nhibernate/src/NHibernate/Cfg/Configuration.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Cfg/Configuration.cs 2008-09-14 14:09:37 UTC (rev 3762) +++ trunk/nhibernate/src/NHibernate/Cfg/Configuration.cs 2008-09-18 18:41:18 UTC (rev 3763) @@ -834,6 +834,15 @@ return ProxyTypeValidator.ValidateType(persistentClass.ProxyInterface); } + /// <summary> + /// Call this to ensure the mappings are fully compiled/built. Usefull to ensure getting + /// access to all information in the metamodel when calling e.g. getClassMappings(). + /// </summary> + public virtual void BuildMappings() + { + SecondPassCompile(); + } + /// <remarks> /// This method may be called many times!! /// </remarks> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |