mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-02 20:02:47 +08:00
Update TDengine
This commit is contained in:
parent
bfdbdf39a6
commit
86891dc07a
@ -252,7 +252,7 @@ namespace SqlSugar.TDengine
|
|||||||
|
|
||||||
private STableAttribute GetCommonSTableAttribute(STableAttribute sTableAttribute)
|
private STableAttribute GetCommonSTableAttribute(STableAttribute sTableAttribute)
|
||||||
{
|
{
|
||||||
return sTableAttribute;
|
return SqlSugar.TDengine.UtilMethods.GetCommonSTableAttribute(this.Context, sTableAttribute);
|
||||||
}
|
}
|
||||||
public string GetDatabaseTypeName(string typeName)
|
public string GetDatabaseTypeName(string typeName)
|
||||||
{
|
{
|
||||||
|
@ -495,7 +495,7 @@ namespace SqlSugar.TDengine
|
|||||||
|
|
||||||
private STableAttribute GetCommonSTableAttribute(STableAttribute sTableAttribute)
|
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)
|
public override List<DbColumnInfo> GetColumnInfosByTableName(string tableName, bool isCache = true)
|
||||||
|
@ -126,7 +126,7 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
private STableAttribute GetCommonSTableAttribute(STableAttribute sTableAttribute)
|
private STableAttribute GetCommonSTableAttribute(STableAttribute sTableAttribute)
|
||||||
{
|
{
|
||||||
return sTableAttribute;
|
return SqlSugar.TDengine.UtilMethods.GetCommonSTableAttribute(this.Context,sTableAttribute);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -11,11 +11,16 @@ using System.Runtime.CompilerServices;
|
|||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace SqlSugar.TDengine
|
namespace SqlSugar.TDengine
|
||||||
{
|
{
|
||||||
public class UtilMethods
|
public class UtilMethods
|
||||||
{
|
{
|
||||||
|
public static STableAttribute GetCommonSTableAttribute(ISqlSugarClient db,STableAttribute sTableAttribute)
|
||||||
|
{
|
||||||
|
return sTableAttribute;
|
||||||
|
}
|
||||||
public static long ToUnixTimestamp(DateTime dateTime)
|
public static long ToUnixTimestamp(DateTime dateTime)
|
||||||
{
|
{
|
||||||
// If the DateTime is Utc, use ToUnixTimeMilliseconds directly
|
// If the DateTime is Utc, use ToUnixTimeMilliseconds directly
|
||||||
|
Loading…
Reference in New Issue
Block a user