예제 #1
0
 public RedfernDb(RedfernContext context) : base(RedfernDb.CreateConnectionString(context))
 {
     this._context         = context;
     this._securityContext = new RedfernSecurityContext();
     this.Configuration.LazyLoadingEnabled   = true;
     this.Configuration.ProxyCreationEnabled = true;
 }
예제 #2
0
 public UserCache(ICacheService cacheService,
                  RedfernSecurityContext securityContext)
 {
     this._cacheService    = cacheService;
     this._securityContext = securityContext;
 }