mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
-
This commit is contained in:
@@ -62,6 +62,17 @@ namespace SqlSugar
|
||||
protected IDbMaintenance _DbMaintenance;
|
||||
protected QueryFilterProvider _QueryFilterProvider;
|
||||
protected SimpleClient _SimpleClient;
|
||||
protected IAdo ContextAdo
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.Context._Ado;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.Context._Ado = value;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Init mppingInfo
|
||||
|
@@ -53,10 +53,10 @@ namespace SqlSugar
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.Context._Ado == null)
|
||||
if (this.ContextAdo == null)
|
||||
{
|
||||
var reval = InstanceFactory.GetAdo(this.Context.CurrentConnectionConfig);
|
||||
this.Context._Ado = reval;
|
||||
this.ContextAdo = reval;
|
||||
reval.Context = this.Context;
|
||||
return reval;
|
||||
}
|
||||
|
Reference in New Issue
Block a user