Update gbase

This commit is contained in:
sunkaixuan
2025-07-10 13:03:55 +08:00
parent 64ce7b2b39
commit 537125e99e
2 changed files with 3 additions and 8 deletions

View File

@@ -74,14 +74,10 @@ namespace SqlSugar.GBase
public override string GetRandom()
{
return " SYS_GUID() ";
}
public override string GetForXmlPath()
{
return " FOR XML PATH('')),1,len(N','),'') ";
}
}
public override string GetStringJoinSelector(string result, string separator)
{
return $"stuff((SELECT cast(N'{separator}' as nvarchar(max)) + cast({result} as nvarchar(max))";
return $"wm_concat({result})";
}
public override string DateValue(MethodCallExpressionModel model)
{

View File

@@ -1,8 +1,7 @@
using Microsoft.Data.SqlClient;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;