TSDatabase 1.0.2
dotnet add package TSDatabase --version 1.0.2
NuGet\Install-Package TSDatabase -Version 1.0.2
<PackageReference Include="TSDatabase" Version="1.0.2" />
<PackageVersion Include="TSDatabase" Version="1.0.2" />
<PackageReference Include="TSDatabase" />
paket add TSDatabase --version 1.0.2
#r "nuget: TSDatabase, 1.0.2"
#:package TSDatabase@1.0.2
#addin nuget:?package=TSDatabase&version=1.0.2
#tool nuget:?package=TSDatabase&version=1.0.2
�ð�������ʹ�ã�����ʹ���ˣ������ʧ�����ге�
{ "Database": { // ��ϸ���ݿ����ü�SqlSugar��������һ��ΪĬ�Ͽ⣩�������Ƽ� PostgreSQL ���ݿ� // ���ݿ������ַ����ο���ַ��https://www.connectionstrings.com/ "SnowId": { "WorkerId": 1, // ������ ȫ��Ψһ "WorkerIdBitLength": 6, // ������λ�� Ĭ��ֵ6��ȡֵ��Χ [1, 19] "SeqBitLength": 6, // ������λ�� Ĭ��ֵ6��ȡֵ��Χ [3, 21]�����鲻С��4��ֵԽ������Խ�ߡ�Idλ��Ҳ������ "WorkerPrefix": "adminnet_" // ����ǰ }, "Redis": { "Host": "127.0.0.1", //Redis ��������ַ��Ĭ�� 127.0.0.1 "Port": 6379, //Redis �˿ںţ�Ĭ�� 6379 "Password": "", //Redis �������룬���û����Ϊ�� "PoolSize": 50, //���ӳش�С��������ݲ��������ã�Ĭ�� 50 "Timeout": 5000, //Redis ������ʱʱ�䣬��λ���룬Ĭ�� 5000 ms "DefaultDatabase": 0, //Ĭ�����ݿ�������0~15����Ĭ�� 0 "UseCluster": false, //�Ƿ�ʹ�ü�Ⱥģʽ��Ĭ�� false�����ڵ㣩 /** * Redis ��Ⱥ�ڵ��ַ�б������ UseCluster = true ʱʹ�� * ��ʽʾ����["127.0.0.1:6379", "127.0.0.1:6380", "127.0.0.1:6381"] */ "ClusterNodes": [ "127.0.0.1:6379", "127.0.0.1:6380", "127.0.0.1:6381" ] }, "MySql": { "BatchSize": 1000, //����д��MySQL������ "FlushIntervalMs": 300, //����д��MySQL��ʱ��������룩 "ConsumerCount": 1, //ָ����̨����д��MySQL�IJ����߳��� "EnableConsoleSql": true, // ���ÿ���̨��ӡSQL "ConnectionConfigs": [ { "ConfigId": "MainGame", // Ĭ�Ͽ��ʶ-��ֹ�� "DbType": "MySql", // MySql "ConnectionString": "server=localhost;user id=root;password=;database=;AllowLoadLocalInfile=true;", // MySql �������ַ���
//"SlaveConnectionConfigs": [ // �����/����
// {
// "HitRate": 10,
// "ConnectionString": "DataSource=./Admin.NET1.db"
// },
// {
// "HitRate": 10,
// "ConnectionString": "DataSource=./Admin.NET2.db"
// }
//],
"DbSettings": {
"EnableInitDb": true, // ���ÿ��ʼ��
"EnableDiffLog": false, // ���ÿ�������־
"EnableUnderLine": false, // �����շ�ת�»���
"EnableConnStringEncrypt": false // �������ݿ����Ӵ�����
},
"TableSettings": {
"EnableInitTable": true, // ���ñ��ʼ��
"EnableIncreTable": false // ����������-����[IncreTable]
},
"SeedSettings": {
"EnableInitSeed": true, // �������ӳ�ʼ��
"EnableIncreSeed": false // ����������������-����[IncreSeed]
}
}
]
}
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- CSRedisCore (>= 3.8.806)
- Mapster (>= 7.4.0)
- MessagePack (>= 3.1.4)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.9)
- Microsoft.Extensions.ObjectPool (>= 9.0.9)
- SqlSugarCore (>= 5.1.4.202)
- System.Linq.Dynamic.Core (>= 1.6.7)
- TSLog (>= 1.0.2)
- TSTools (>= 1.0.2)
- Yitter.IdGenerator (>= 1.0.14)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TSDatabase:
| Package | Downloads |
|---|---|
|
TSWebExtensions
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.