public EntityMetadata GetEntityMetadata(string entityName) { var orgId = ContextContainer.GetValue <Guid>(ContextTypes.CurrentOrganization); return(_versionVisitor.GetSync((k) => { return _paMetadataService.GetEntityMetadata(entityName); }, $"{orgId.ToString()}_EntityName_{entityName}")); }
public SystemConfiguration QueryByName(string name) { return(_kvcacheVisitor.GetSync( (k) => { return _systemConfigurationRepository.QueryByName(name); }, name )); }
public HashGroup QueryByNameSync(string name) { return(_kvcacheVisitor.GetSync( (k) => { return _hashGroupRepository.QueryByNameSync(name); }, name )); }
public ApplicationLimit QueryByNameSync(string name) { return(_kvcacheVisitor.GetSync( (k) => { return _applicationLimitRepository.QueryByNameSync(name); }, name )); }
public RedisClientFactory QueryByNameSync(string name) { return(_kvcacheVisitor.GetSync( (k) => { return _redisClientFactoryRepository.QueryByNameSync(name); }, name )); }