示例#1
0
 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;
 }
示例#2
0
 public FunctionService(CTMSContext CTMSContext, IFunctionDAL FunctionDAL)
 {
     this.CTMSContext = CTMSContext;
     this.FunctionDAL = FunctionDAL;
     this.Dal         = FunctionDAL;
 }
示例#3
0
 public FunctionService(LdCmsDbEntitiesContext LdCmsDbEntitiesContext, IFunctionDAL FunctionDAL)
 {
     this.LdCmsDbEntitiesContext = LdCmsDbEntitiesContext;
     this.FunctionDAL            = FunctionDAL;
     this.Dal = FunctionDAL;
 }