public FunctionBLL() : base() { base.Init(this.GetType().FullName, System.Reflection.Assembly.GetExecutingAssembly().GetName().Name); baseDal.OnOperationLog += new OperationLogEventHandler(Next.Admin.BLL.OperationLogBLL.OnOperationLog);//如果需要记录操作日志,则实现这个事件 this.functionDAL = (IFunctionDAL)base.baseDal; }
public FunctionService(CTMSContext CTMSContext, IFunctionDAL FunctionDAL) { this.CTMSContext = CTMSContext; this.FunctionDAL = FunctionDAL; this.Dal = FunctionDAL; }
public FunctionService(LdCmsDbEntitiesContext LdCmsDbEntitiesContext, IFunctionDAL FunctionDAL) { this.LdCmsDbEntitiesContext = LdCmsDbEntitiesContext; this.FunctionDAL = FunctionDAL; this.Dal = FunctionDAL; }