The same example with the Linq method syntax:
var innerquery = dbcontext.DataDictVal .where(x=> x.TbiTableName == myTableNameVariable && x.DdColumnName == "Status" && x.DdbColumnValLangDsc1.StartsWith("ac")) .select(x=>x.DdvColumnVal) var query = dbcontext.Client .where( c=>innerquery.Contains(c.Etat))
Note:
I provide this answer because when I was looking for the answer, I could not find a lot of answer that explains the same concept in the syntax of the method.
So, in the future this may be useful for people who are intensively looking for a syntax method similar to me today. thanks Karthik
Karthik elumalai
source share