LinqToSql and Stored Procedure question
-
09-09-2019 - |
Question
I have a stored procedure that returns a number of fields, pew row. Is there anyway i can define the class which the stored procedure 'goes into', instead of it using the auto-generated class?
The class i want the results to populate is a POCO, not another LinqToSql table.
Is this possible? i'm assuming that the poco class public properties are the same names as the fields in the returned recordset.
Solution
Yes, you can define your own complex type and then select it in function import
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow