Hi,
I have used linq query to c# query.
Is that any way to execute string like ("from c in customers sectect c ") as linq to SQL
string str="pats.Id && sups.SupplierName && pats.PatternName";
string str passed the where clause but str throw error.
please help me.
for example:-
var results = from reqs in dataContext.Requirements
join pats in dataContext.Patterns on reqs.PatternRequirement equals pats.Id
join sups in dataContext.Suppliers on reqs.SupplierRequirement equals sups.Id
Where (str)
select new
{
reqs.Id,
sups.SupplierName,
pats.PatternName
};