I need to retrieve data from a table stored in SQL server, this table has json string column, then i need to retrieve only rows with a valid json column using linq in C# like that:
var q = from t1 in DBContext.table1 join
t2 in DBContext.table2 on t1.id equals t2.tId
where
//Here what i need to use isJson like that but SqlFunctions does not contain it
SqlFunctions.IsJson(t1.jsonTxt)
select new resDTO
{
name=t1.name,
details =t2.details
}