using APT.BaseData.Domain.Entities.FM;
using APT.Infrastructure.Api;
using System;
using System.Collections.Generic;
using System.Text;

namespace APT.BaseData.Domain.IServices.OP
{
    public interface IOPTenantDBConnService : ICommonService
    {

        /// <summary>
        /// 获取 除 ORG_IDBeside 之外对应的数据库链接字典  ORG_ID  DB_CONN
        /// </summary>
        /// <param name="ORG_IDBeside"></param>
        /// <returns></returns>
        Dictionary<Guid, string> GetConnDictionary(Guid? ORG_IDBeside);

        /// <summary>
        /// 获取 ORG_ID的数据库链接
        /// </summary>
        /// <param name="ORG_ID">过滤值</param>
        /// <returns></returns>
        string GetConnByORGID(Guid ORG_ID);


        /// <summary>
        /// 根据ORGID 获取 Tenant
        /// </summary>
        /// <param name="ORG_ID"></param>
        /// <returns></returns>
        string GetTenantByORGID(Guid ORG_ID);
    }
}
