Queryable.With BUG

This commit is contained in:
skx 2020-09-24 14:12:49 +08:00
parent e783de9bab
commit 9da41c1d7e

View File

@ -89,8 +89,11 @@ namespace SqlSugar
return _As(tableName, entityName);
}
public virtual ISugarQueryable<T> With(string withString)
{
if (this.Context.CurrentConnectionConfig.DbType == DbType.SqlServer)
{
QueryBuilder.TableWithString = withString;
}
return this;
}