服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-09-29 c88f9369513c600533934b9e47dea014d644c80e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using Autofac;
using Rhea.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace Tiger.IBusiness
{
    public interface IBiz
    {
        /// <summary>
        /// 根据数据库名获取数据库对象
        /// </summary>
        /// <param name="name">配置文件中的数据库名</param>
        /// <returns></returns>
        public DbClient DB(string name = "");
 
        /// <summary>
        /// 根据数据库名获取数据库基础方法
        /// </summary>
        /// <param name="name">配置文件中的数据库名</param>
        /// <returns></returns>
        public IDbBase DbBase(string name = "");
 
        public void SetContainer(IContainer container);
    }
}