diff --git a/Src/Asp.Net/SqlSugar/SqlSugarClient.cs b/Src/Asp.Net/SqlSugar/SqlSugarClient.cs index 34d6e0b7e..378314526 100644 --- a/Src/Asp.Net/SqlSugar/SqlSugarClient.cs +++ b/Src/Asp.Net/SqlSugar/SqlSugarClient.cs @@ -351,6 +351,7 @@ namespace SqlSugar } public IStorageable Storageable(T data) where T : class, new() { + Check.Exception(typeof(T).FullName.Contains("System.Collections.Generic.List`"), " need where T: class, new() "); return this.Context.Storageable(new List { data}); } public ISaveable Saveable(List saveObjects) where T : class, new()