From 92648918e0650f7dd4c88925a4cf26a09420e791 Mon Sep 17 00:00:00 2001 From: sunkaixuna <610262374@qq.com> Date: Fri, 9 Jul 2021 23:15:41 +0800 Subject: [PATCH] Update ScopedClient --- Src/Asp.Net/SqlSugar/ScopedClient.cs | 74 ++++++++++++++-------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/Src/Asp.Net/SqlSugar/ScopedClient.cs b/Src/Asp.Net/SqlSugar/ScopedClient.cs index e1e277afb..20cf026ed 100644 --- a/Src/Asp.Net/SqlSugar/ScopedClient.cs +++ b/Src/Asp.Net/SqlSugar/ScopedClient.cs @@ -178,7 +178,7 @@ namespace SqlSugar public IInsertable Insertable(dynamic insertDynamicObject) where T : class, new() { - return ScopedContext.Insertable(insertDynamicObject); + return ScopedContext.Insertable((object)insertDynamicObject); } public IInsertable Insertable(List insertObjs) where T : class, new() @@ -203,186 +203,186 @@ namespace SqlSugar public ISugarQueryable Queryable(string tableName, string shortName) { - throw new NotImplementedException(); + return ScopedContext.Queryable(tableName,shortName); } public ISugarQueryable Queryable(Expression> joinExpression) where T : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) where T : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) where T : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) where T : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) where T : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) where T : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) where T : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) where T : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) where T : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) where T : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) where T : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(Expression> joinExpression) { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinExpression); } public ISugarQueryable Queryable(ISugarQueryable joinQueryable1, ISugarQueryable joinQueryable2, Expression> joinExpression) where T : class, new() where T2 : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinQueryable1,joinQueryable2, joinExpression); } public ISugarQueryable Queryable(ISugarQueryable joinQueryable1, ISugarQueryable joinQueryable2, JoinType joinType, Expression> joinExpression) where T : class, new() where T2 : class, new() { - throw new NotImplementedException(); + return ScopedContext.Queryable(joinQueryable1, joinQueryable2, joinType, joinExpression); } public ISugarQueryable Queryable(ISugarQueryable joinQueryable1, ISugarQueryable joinQueryable2, ISugarQueryable joinQueryable3, JoinType joinType1, Expression> joinExpression1, JoinType joinType2, Expression> joinExpression2)