Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public FunctionService(CTMSContext CTMSContext, IFunctionDAL FunctionDAL)
 {
     this.CTMSContext = CTMSContext;
     this.FunctionDAL = FunctionDAL;
     this.Dal         = FunctionDAL;
 }
Exemplo n.º 3
0
 public FunctionService(LdCmsDbEntitiesContext LdCmsDbEntitiesContext, IFunctionDAL FunctionDAL)
 {
     this.LdCmsDbEntitiesContext = LdCmsDbEntitiesContext;
     this.FunctionDAL            = FunctionDAL;
     this.Dal = FunctionDAL;
 }