Пример #1
0
        private void init(TkUserDbContext context)
        {
            this.context = context;

            claims    = context.Set <TkClaim>();
            roles     = context.Set <TkRole>();
            users     = context.Set <TkUser>();
            infos     = context.Set <TkUserLoginInfo>();
            userRoles = context.Set <TkUserRole>();
        }
Пример #2
0
 public TkRoleStore(TkUserDbContext context)
 {
     init(context);
 }
Пример #3
0
        private void init(TkUserDbContext context)
        {
            this.context = context;

            roles = context.Set <TkRole>();
        }