mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-21 02:58:05 +08:00
Update TDengine
This commit is contained in:
@@ -9,6 +9,13 @@ namespace SqlSugar.TDengine
|
||||
/// </summary>
|
||||
public static class UtilExtensions
|
||||
{
|
||||
public static TagInserttable<T> SetTDengineChildTableName<T>(this IInsertable<T> thisValue,Func<string,T,string> getChildTableNamefunc) where T:class,new()
|
||||
{
|
||||
TagInserttable<T> result = new TagInserttable<T>();
|
||||
result.thisValue = thisValue;
|
||||
result.getChildTableNamefunc = getChildTableNamefunc;
|
||||
return result;
|
||||
}
|
||||
public static string ObjToStringNoTrim(this object thisValue)
|
||||
{
|
||||
if (thisValue != null) return thisValue.ToString();
|
||||
|
Reference in New Issue
Block a user