RuoVea.ExIdGen
7.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package RuoVea.ExIdGen --version 7.0.1
NuGet\Install-Package RuoVea.ExIdGen -Version 7.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RuoVea.ExIdGen" Version="7.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RuoVea.ExIdGen --version 7.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RuoVea.ExIdGen, 7.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RuoVea.ExIdGen as a Cake Addin #addin nuget:?package=RuoVea.ExIdGen&version=7.0.1 // Install RuoVea.ExIdGen as a Cake Tool #tool nuget:?package=RuoVea.ExIdGen&version=7.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RuoVea.ExCache
介绍
IdGenerator 雪花漂移算法(支持数据中心ID和秒级时间戳),雪花漂移算法,支持简体中文、繁体中文、粤语、日语、法语、英语.; 生成数值型Id、生成字符串Id、No 自动生成编号(201008251145409865)
使用示例
生成雪花 数值型 Id
long id = IdGenerator.Id;
string id = IdGenerator.IdStr("demo");
相关配置文件
{
"IdGenerator": {
/* 计器码 用于唯一Id 的生成 */
"WorkerId": 2,
/* 默认值6,取值范围 [3, 21](要求:序列数位长+机器码位长不超过22) */
"SeqBitLength": 6
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- Microsoft.Extensions.Configuration.Binder (>= 6.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on RuoVea.ExIdGen:
Package | Downloads |
---|---|
RuoVea.ExSugar
Sqlsugar扩展 快速注入,支持简体中文、繁体中文、粤语、日语、法语、英语.使用方式:service.AddSqlsugar();继承RestFulLog 重写异常日志,操作日志,差异日志 |
|
RuoVea.ExWeb
CorsUrls、IPLimit、SafeIps、Jwt 配置 |
|
RuoVea.QuartzNetUI
QuartzNet UI界面 执行脚本地址:https://gitee.com/starry123/ruovea-quartznet-ui/tree/develop/Doc/Sql |
GitHub repositories
This package is not used by any popular GitHub repositories.