Example #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>();
        }
Example #2
0
        private void init(TkUserDbContext context)
        {
            this.context = context;

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