比如DB已经是自动释放了,我们可以动态修改成不自动释放
db.CurrentConnectionConfig.IsAutoCloseConnection = false;
db.CurrentConnectionConfig.MoreSettings=new MoreSettings(){}
1. DbType 数据库类型
2. ConnectionString 连接字符串
3. ConfigId 多租户唯一标识
4.EntityService和EntityNameService 实体AOP
其它都可以使用过程中修改
2016 © donet5.comApache Licence 2.0