You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yxsc-net6/vol-net6/VOL.System/Services/flow/Partial/Sys_WorkFlowTableAuditLogSe...

42 lines
1.5 KiB

/*
*Sys_WorkFlowTableAuditLog
*使repository.EF/Dapper
*使repository.DbContextBeginTransaction
*使DBServerProvider.
*使UserContext.Current
*Sys_WorkFlowTableAuditLogServiceServiceFunFilter
*/
using VOL.Core.BaseProvider;
using VOL.Core.Extensions.AutofacManager;
using VOL.Entity.DomainModels;
using System.Linq;
using VOL.Core.Utilities;
using System.Linq.Expressions;
using VOL.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Http;
using VOL.System.IRepositories;
namespace VOL.System.Services
{
public partial class Sys_WorkFlowTableAuditLogService
{
private readonly IHttpContextAccessor _httpContextAccessor;
private readonly ISys_WorkFlowTableAuditLogRepository _repository;//访问数据库
[ActivatorUtilitiesConstructor]
public Sys_WorkFlowTableAuditLogService(
ISys_WorkFlowTableAuditLogRepository dbRepository,
IHttpContextAccessor httpContextAccessor
)
: base(dbRepository)
{
_httpContextAccessor = httpContextAccessor;
_repository = dbRepository;
//多租户会用到这init代码其他情况可以不用
//base.Init(dbRepository);
}
}
}