Files
tnb.server/Tnb.ProductionPlanMgr/internals/BaseService.cs
DEVICE8\12494 95fb16a3bf 1
2023-04-19 13:41:48 +08:00

28 lines
699 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JNPF;
using JNPF.Common.Core.Manager;
using JNPF.DependencyInjection;
using JNPF.Systems.Entitys.System;
using SqlSugar;
namespace Tnb.ProductionPlanMgr.internals
{
public class BaseService : ITransient
{
private readonly Dictionary<string, ISqlSugarClient> _dbContextDic = new(StringComparer.OrdinalIgnoreCase);
static BaseService()
{
var repo = App.GetService<ISqlSugarRepository<DbLinkEntity>>();
//var = await repo.GetListAsync();
var dbMgr = App.GetService<IDataBaseManager>();
}
}
}