I have for example table cars
table cars(
producer varchar(30),
model varchar(30),
price integer,
start datetime,
end datetime)
and I need to return data from table using criterions ( based on one criterion , or two or all of them ). Is there any way to dynamically create linq question (just one linq query, not to create for all combinations different linq queries)? I can use some default values and search always buy all but that decrease my performance when I need to search by one or none.