MSSQL数据库链接字符串Asynchronous Processing=true不是异步查询吗,怎么是缓存

;Asynchronous Processing=true  不是异步查询吗,怎么是缓存

<!--<add name="default" providerName="System.Data.SqlClient" connectionString="Data Source=(localdb)\MSSQLLocalDB;Integrated Security=True;Initial Catalog=candoo;Asynchronous Processing=true " />-->

    public class CandooDbConfiguration : System.Data.Entity.DbConfiguration
{
public CandooDbConfiguration()
{ #if !DEBUG
#region EFCache //var transactionHandler = new CacheTransactionHandler(new InMemoryCache()); //AddInterceptor(transactionHandler); //var cachingPolicy = new CachingPolicy(); //Loaded +=
// (sender, args) => args.ReplaceService<DbProviderServices>(
// (s, _) => new CachingProviderServices(s, transactionHandler,
// cachingPolicy)); #endregion
#endif
//#if DEBUG
//DbInterception.Add(new CanDoo.Data.Entity.Interceptors.EFIntercepterLogging());
//#endif
}
}
上一篇:CSS选择器优先级总结


下一篇:css的优先级 和 权重