//define the config context. <context name="anotherContext"> ... the same context </context>//create the another DaoManager DomDaoManagerBuilder builder = new DomDaoManagerBuilder(); builder.Configure(); IDaoManager daoManager = DaoManager.GetInstance("anotherContext");
能给一个例子吗!
<context name="anotherContext">
... the same context
</context>//create the another DaoManager
DomDaoManagerBuilder builder = new DomDaoManagerBuilder();
builder.Configure();
IDaoManager daoManager = DaoManager.GetInstance("anotherContext");
今天看了一部分DataAccess的代码,有时间我会学习DataMapper代码,有发现再交流。大家有什么发现也请共享。