Browse Source

-

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
e6a88d849b
  1. 2
      Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs
  2. 2
      Src/Asp.Net/SqlSugar/Interface/IQueryable.cs

2
Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

@ -16,7 +16,7 @@ namespace SqlSugar
#region T1
public partial class QueryableProvider<T> : QueryableAccessory, ISugarQueryable<T>
{
public SqlSugarEngine Context { get; set; }
public ISqlSugarClient Context { get; set; }
public IAdo Db { get { return Context.Ado; } }
public IDbBind Bind { get { return this.Db.DbBind; } }
public ISqlBuilder SqlBuilder { get; set; }

2
Src/Asp.Net/SqlSugar/Interface/IQueryable.cs

@ -11,7 +11,7 @@ namespace SqlSugar
{
public partial interface ISugarQueryable<T>
{
SqlSugarEngine Context { get; set; }
ISqlSugarClient Context { get; set; }
ISqlBuilder SqlBuilder { get; set; }
QueryBuilder QueryBuilder { get; set; }
ISugarQueryable<T> Clone();

Loading…
Cancel
Save