public MixCacheService() { base(); this.Repository = DefaultModelRepository <MixCmsContext, MixCache> .get_Instance(); return; }
static ViewModelBase() { Repository = new DefaultRepository <TDbContext, TModel, TView>(); ModelRepository = new DefaultModelRepository <TDbContext, TModel>(); }
public MixCacheService() { Repository = DefaultModelRepository <MixCmsContext, MixCache> .Instance; }
static ViewModelBase() { Repository = DefaultRepository <TDbContext, TModel, TView> .Instance; ModelRepository = DefaultModelRepository <TDbContext, TModel> .Instance; }