更新一些数据库写法
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user