for example you have a stored procedure with title : sp_test
when you drag into LinqToSql, it generates sp_testResult class with stored procedure output columns as its properties.
I want to know how LinqToSql distinguish output result of stored procedure?
                        
Here is what happens in
SqlCommandBuilder.GetSchemaTable(...)which is sadlyprotected.The resultant
DataTablewill contain the output schema.If I remember correctly, you do not have to pass parameters for this work.