Update TDengine

This commit is contained in:
sunkaixuan 2025-02-26 19:44:28 +08:00
parent bfdbdf39a6
commit 86891dc07a
4 changed files with 8 additions and 3 deletions

View File

@ -252,7 +252,7 @@ namespace SqlSugar.TDengine
private STableAttribute GetCommonSTableAttribute(STableAttribute sTableAttribute)
{
return sTableAttribute;
return SqlSugar.TDengine.UtilMethods.GetCommonSTableAttribute(this.Context, sTableAttribute);
}
public string GetDatabaseTypeName(string typeName)
{

View File

@ -495,7 +495,7 @@ namespace SqlSugar.TDengine
private STableAttribute GetCommonSTableAttribute(STableAttribute sTableAttribute)
{
return sTableAttribute;
return SqlSugar.TDengine.UtilMethods.GetCommonSTableAttribute(this.Context, sTableAttribute);
}
public override List<DbColumnInfo> GetColumnInfosByTableName(string tableName, bool isCache = true)

View File

@ -126,7 +126,7 @@ namespace SqlSugar
}
private STableAttribute GetCommonSTableAttribute(STableAttribute sTableAttribute)
{
return sTableAttribute;
return SqlSugar.TDengine.UtilMethods.GetCommonSTableAttribute(this.Context,sTableAttribute);
}
}

View File

@ -11,11 +11,16 @@ using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml.Serialization;
namespace SqlSugar.TDengine
{
public class UtilMethods
{
public static STableAttribute GetCommonSTableAttribute(ISqlSugarClient db,STableAttribute sTableAttribute)
{
return sTableAttribute;
}
public static long ToUnixTimestamp(DateTime dateTime)
{
// If the DateTime is Utc, use ToUnixTimeMilliseconds directly