'how to check dynamic Condition On Dynamic Table using dbContext

I'm new To all Of this in my project i use dbcontext and generic Repository along .Net core 5 and dotnet frameWork 5.0.17

now here what I'm traying to do is Store a Condition in string format in sql server like

Employee.Id==2

in my mind 1st of all I must retrieve Employee then with help of predicate apply condition in where clause
and I'm stuck in find solution for 1st step any hint or solution is appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source