mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-20 18:47:35 +08:00
update .net core project
This commit is contained in:
@@ -584,6 +584,10 @@ namespace SqlSugar
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (properyTypeName?.ToLower() == "blob" && dataType?.ToLower() == "byte[]")
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (properyTypeName == null || dataType == null)
|
||||
{
|
||||
return properyTypeName != dataType;
|
||||
|
@@ -20,6 +20,10 @@ namespace SqlSugar
|
||||
{
|
||||
SqlSugarClient result = null;
|
||||
var key = _configs.GetHashCode().ToString();
|
||||
if (Task.CurrentId != null)
|
||||
{
|
||||
key= $"{key}Task";
|
||||
}
|
||||
StackTrace st = new StackTrace(true);
|
||||
var methods = st.GetFrames();
|
||||
var isAsync = UtilMethods.IsAnyAsyncMethod(methods);
|
||||
|
Reference in New Issue
Block a user