How do you fashion projections in SubSonic 2.2? Basically I wish to return columns from two tables that are joined.
How do you fashion projections in SubSonic 2.2? Basically I wish to return columns
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
My personal preference for how to do this is to create a SQL View which joins the table and have subsonic generate an object that maps to it.
You can also use ExecuteTypedList with a custom defined object for example: