public TEntity Add(TEntity entity) { entity = RedisUtils.SetEntityIdProperty(entity, _client); _typedClient.Store(entity); return(entity); }
public TEntity Add(TEntity entity) { entity = RedisUtils.SetEntityIdProperty(entity, _client); attachEntity(entity, RedisOperation.Add); return(entity); }