修复枚举编码utf8的bug

This commit is contained in:
xuejiaming 2023-03-09 14:16:55 +08:00
parent cd39477560
commit c59eeaa551
2 changed files with 5 additions and 6 deletions

View File

@ -101,7 +101,7 @@ namespace Sample.MySql
// o.UseEntityFrameworkCoreProxies = true;
o.ThrowIfQueryRouteNotMatch = false;
o.AutoUseWriteConnectionStringAfterWriteDb = true;
o.UseShardingQuery((conStr, builder) =>
{
builder.UseMySql(conStr, new MySqlServerVersion(new Version()))

View File

@ -1,8 +1,7 @@
using System;
namespace ShardingCore.Sharding.PaginationConfigurations
{
/*
{ /*
* @Author: xjm
* @Description:
* @Date: Wednesday, 01 September 2021 21:27:25
@ -12,15 +11,15 @@ namespace ShardingCore.Sharding.PaginationConfigurations
public enum PaginationMatchEnum
{
/// <summary>
/// 必须是当前对象的属性
/// 必须是当前对象的属性
/// </summary>
Owner = 1,
/// <summary>
/// 只要名称一样就可以了
/// 只要名称一样就可以了
/// </summary>
Named = 1 << 1,
/// <summary>
/// 仅第一个匹配就可以了
/// 仅第一个匹配就可以了
/// </summary>
PrimaryMatch = 1 << 2
}