I want to assign below query result into my Person class which have Name,DOB properties, and then  convert into JSON.
SELECT Name,DOB FROM Sample.Person