elizondo82
Member
- Joined
- Sep 16, 2022
- Messages
- 12
- Programming Experience
- 10+
Hello, I try find a param by json string from Linq.
Example:
I have a db sql there show me this columns
Id | name | price | code | countryCode
The column countryCode show a Json String example , [{siglas: "NY", Name:"New York"},{siglas: "NX", Name:"New Mexico"},...]
I want find the siglas == "NX"
= from o in Datacolumns where x=>x.code == 5 && x.countryCode["sliglas"] == "NX"
any idea
Thanks!!
Example:
I have a db sql there show me this columns
Id | name | price | code | countryCode
The column countryCode show a Json String example , [{siglas: "NY", Name:"New York"},{siglas: "NX", Name:"New Mexico"},...]
I want find the siglas == "NX"
= from o in Datacolumns where x=>x.code == 5 && x.countryCode["sliglas"] == "NX"
any idea
Thanks!!