更新一些数据库写法

This commit is contained in:
2025-11-21 18:17:02 +08:00
parent 5762b6daf4
commit 97337f31ce
2 changed files with 33 additions and 4 deletions

View File

@@ -381,5 +381,14 @@ namespace Ramitta.lib
return stringBuilder.ToString();
}
}
/// <summary>
/// 生成一个新的UUID/GUID
/// </summary>
/// <returns>格式为: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</returns>
public static string GenerateUUID()
{
return Guid.NewGuid().ToString();
}
}
}