예제 #1
0
        public MixCacheService()
        {
            base();
            this.Repository = DefaultModelRepository <MixCmsContext, MixCache> .get_Instance();

            return;
        }
예제 #2
0
 static ViewModelBase()
 {
     Repository      = new DefaultRepository <TDbContext, TModel, TView>();
     ModelRepository = new DefaultModelRepository <TDbContext, TModel>();
 }
예제 #3
0
 public MixCacheService()
 {
     Repository = DefaultModelRepository <MixCmsContext, MixCache> .Instance;
 }
예제 #4
0
 static ViewModelBase()
 {
     Repository      = DefaultRepository <TDbContext, TModel, TView> .Instance;
     ModelRepository = DefaultModelRepository <TDbContext, TModel> .Instance;
 }