修复枚举编码utf8的bug
This commit is contained in:
parent
cd39477560
commit
c59eeaa551
|
@ -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()))
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue