mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
-
This commit is contained in:
@@ -13,6 +13,7 @@ namespace SqlSugar
|
||||
public SqlSugarClient Context { get; set; }
|
||||
public ISugarQueryable<T> CreateMapping<T>() where T : class, new()
|
||||
{
|
||||
Check.ArgumentNullException(Context, "Please use Sqlugar.ModelContext");
|
||||
using (Context)
|
||||
{
|
||||
return Context.Queryable<T>();
|
||||
|
Reference in New Issue
Block a user