mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-01 10:10:16 +08:00
Synchronization code
This commit is contained in:
parent
ea25430564
commit
d34aa7461e
@ -462,6 +462,9 @@ namespace SqlSugar
|
||||
{
|
||||
if (Regex.IsMatch(dbTypeName, @"\(.+\)"))
|
||||
{
|
||||
if (Regex.IsMatch(dbTypeName, @"SimpleAggregateFunction"))
|
||||
dbTypeName = Regex.Match(dbTypeName, @"((?<=,\s)[^Nullable]\w+)|((?<=Nullable\()\w+)").Value;
|
||||
else
|
||||
dbTypeName = Regex.Replace(dbTypeName, @"\(.+\)", "");
|
||||
}
|
||||
dbTypeName = dbTypeName.Trim();
|
||||
|
Loading…
Reference in New Issue
Block a user