Skip to content

SqlQuery.ForJson method

Adds a FOR JSON statement to the query.

public SqlQuery ForJson(string forJson = "AUTO")
parameter description
forJson FOR JSON type, usually "auto".

Return Value

The query itself.

See Also