2
Reply

please help me how to convert this query into Linq

md Ghouse

md Ghouse

May 3 2016 6:40 AM
276
string custype = ConfigurationManager.AppSettings["ProducerType"].ToString();
string query = "SELECT CODE ,DESC_E Description FROM S_MASTER WHERE CMP_CODE='A0' and loc_code='01' and DESC_E like '%" + val + "%' and subs_f='" + custype + "' order by 1";

Answers (2)