using System;
using System.Data;
using MySqlConnector;

namespace CncRepository.Base
{
    /// <summary>
    /// 业务库仓储基类（cnc_business）
    /// 所有操作业务库的仓储继承此类
    /// </summary>
    public class BusinessRepository : BaseRepository
    {
        /// <summary>
        /// 初始化业务库仓储
        /// </summary>
        /// <param name="connectionString">cnc_business 数据库连接字符串</param>
        public BusinessRepository(string connectionString) : base(connectionString) { }
    }

    /// <summary>
    /// 日志库仓储基类（cnc_log）
    /// 所有操作日志库的仓储继承此类
    /// </summary>
    public class LogRepository : BaseRepository
    {
        /// <summary>
        /// 初始化日志库仓储
        /// </summary>
        /// <param name="connectionString">cnc_log 数据库连接字符串</param>
        public LogRepository(string connectionString) : base(connectionString) { }
    }
}
