I've just got stuck. I have an issue when I working with an entity, I want to save it to Redis, but after some time I want to get this entity, but I don't know what kind of query will be searched it.
So, I need to save several keys into Redis. And I will be able to search my Entity by several queries.
For example, I have an entity:
public class Book
{
int Id,
string Name
}
In one time, I want to search this Entity by Id, in another case by Name.
Have you any propositions or solving how I can do it? Maybe, I can use the tags or something like that.
Thanks a lot!!!