Files
shgx_tz_mes_backend_sync/ZR.Service/BaseService.cs

19 lines
482 B
C#
Raw Normal View History

2022-03-19 08:04:08 +08:00
using ZR.Repository;
2021-08-23 16:57:25 +08:00
namespace ZR.Service
{
/// <summary>
/// 基础服务定义
/// </summary>
/// <typeparam name="T"></typeparam>
2022-03-19 08:04:08 +08:00
public class BaseService<T> : BaseRepository<T> where T : class, new()
2021-08-23 16:57:25 +08:00
{
2022-03-19 08:04:08 +08:00
//public IBaseRepository<T> baseRepository;
2021-11-27 09:43:04 +08:00
2022-03-19 08:04:08 +08:00
//public BaseService(IBaseRepository<T> repository)
2021-09-27 08:06:09 +08:00
//{
2022-03-19 08:04:08 +08:00
// this.baseRepository = repository ?? throw new ArgumentNullException(nameof(repository));
2021-09-27 08:06:09 +08:00
//}
2021-08-23 16:57:25 +08:00
}
}