简而言之,就是相应AppDomain.的AssemblyResolve实现的。 DynAssembly提供给动态载入的模块提供一个解析名字的机会。如下代码可以把NHibernate 的Hbm.xml 生成 数据库结构。