自动分表策略,新增单元测试用例
智能大石头 authored at 2021-07-25 22:36:16
450.00 B
X
using System;

namespace XCode.Shards
{
    /// <summary>分表分库模型</summary>
    public class ShardModel
    {
        /// <summary>连接名</summary>
        public String ConnName { get; set; }

        /// <summary>表名</summary>
        public String TableName { get; set; }

        /// <summary>已重载。</summary>
        /// <returns></returns>
        public override String ToString() => $"{ConnName} {TableName}";
    }
}