Esempio n. 1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="roleBaseService">基于IRBACProvider实现</param>
 /// <param name="connectString">连接字符串</param>
 /// 时间:2016-04-29 10:32
 /// 备注:
 public RBACContext(IRBACProvider roleBaseService, string connectString)
 {
     this.RoleBaseService = roleBaseService;
 }
Esempio n. 2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="rbacProvider">IRBACProvider</param>
 public RBACContext(IRBACProvider rbacProvider)
 {
     this.RoleBaseService = rbacProvider;
 }