一、使用Stream
    Assembly assembly = Assembly.load("IBatisDemoCore");
    Stream stream = assembly.GetManifestResourceStream("IBatisDemoCore.sqlmap.config");
    DomSqlMapBuilder builder = new DomSqlMapBuilder();
    builder.Configurature(stream);
    执行到第四行时,调试器出现如下提示"没有可用于当前位置的源代码"。
二、使用XmlDocument作为builder.Configurature()方法的参数时,执行到第四行又调试器会打开一个文件选择窗口,提示查找源“MemberAccessorFactory.cs”等,好些文件。
    暂时已解决,可是还是不知道是什么原因。先保留!!

posted on 2007-11-13 15:47  eric.wen  阅读(255)  评论(0编辑  收藏  举报