BeetleX.BNR
1.0.1
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
dotnet add package BeetleX.BNR --version 1.0.1
NuGet\Install-Package BeetleX.BNR -Version 1.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="BeetleX.BNR" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BeetleX.BNR --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BeetleX.BNR, 1.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 BeetleX.BNR as a Cake Addin #addin nuget:?package=BeetleX.BNR&version=1.0.1 // Install BeetleX.BNR as a Cake Tool #tool nuget:?package=BeetleX.BNR&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
添加数据自增序列表达式
public class MysqlDBContext : DbContext, IDBSequenceData
{
public DbSet<SequenceData> SequenceData { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
base.OnConfiguring(optionsBuilder);
var connectionString = "server=192.168.2.19;user=root;password=123456;database=baseinfo_test";
var serverVersion = new MySqlServerVersion(new Version(8, 0, 16));
optionsBuilder.UseMySql(connectionString, serverVersion);
}
}
BNRFactory.Default.Register("mysql", new DBSequenceParameter<MysqlDBContext>());
var number = await BNRFactory.Default.Create("[S:M-][CN:订单][CN:广州][mysql:[D:yyyy]/00000000]");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- BeetleX.Redis (>= 1.4.6.1803)
- Microsoft.EntityFrameworkCore (>= 5.0.17)
- NPinyin.Core (>= 3.0.0)
-
net5.0
- BeetleX.Redis (>= 1.4.6.1803)
- Microsoft.EntityFrameworkCore (>= 5.0.17)
- NPinyin.Core (>= 3.0.0)
-
net6.0
- BeetleX.Redis (>= 1.4.6.1803)
- Microsoft.EntityFrameworkCore (>= 5.0.17)
- NPinyin.Core (>= 3.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on BeetleX.BNR:
Repository | Stars |
---|---|
beetlex-io/BeetleX-Samples
BeetleX micro services framework (tcp webapi websocket and xrpc) samples
|