I have created a JSON object using SQL Server with the following query:
SELECT
Attribute 1 ,Attribute 2, Attribute 3,.... AS Identifier
FROM
Table_1 tbl1_obj
INNER JOIN
Table_2 tbl2_obj ON tbl2_obj.Id = tbl1_obj.Id
FOR JSON AUTO
I wanted to get a JSON object in C# from SQL Server. Wanted to know how ...