在Ibatis.net中使用泛型映射

在Ibatis.net中parameterMap和resultMap中class属于用于指定要映射到的类型。由于泛型中包含<>所以会破坏xml文档格式。必须使用另一种表达方式来代替<>。比如class="System.Collections.Generic.Dictionary`2[[System.String],[System.Object]] 就相当于System.Collections.Generic.Dictionary<System.String,System.Object>    '2就表示类型参数的个数。类型参数都是用[]来包住。
原文地址:https://www.cnblogs.com/xhan/p/1549786.html