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