21 lines
638 B
21 lines
638 B
using HybirdFrameworkCore.Autofac.Attribute;
|
|
using HybirdFrameworkEntity.DbModel;
|
|
using HybirdFrameworkRepository.System;
|
|
using HybirdFrameworkRepository.UnitOfWork;
|
|
|
|
namespace HybirdFrameworkServices.System
|
|
{
|
|
[Scope("SingleInstance")]
|
|
public class SysDataSourceServices : BaseServices<sysDataSource>
|
|
{
|
|
private readonly SysDataSourceRepository _dal;
|
|
private readonly UnitOfWork _unitOfWork;
|
|
|
|
public SysDataSourceServices(UnitOfWork unitOfWork, SysDataSourceRepository dal)
|
|
{
|
|
this._dal = dal;
|
|
base.BaseDal = dal;
|
|
_unitOfWork = unitOfWork;
|
|
}
|
|
}
|
|
} |