引入redis服务,支持自动化单元测试
大石头 authored at 2022-03-31 22:56:30
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}";
    }
}