Stored Procedures [LINQ to SQL]
LINQ to SQL uses methods in your object model to represent stored procedures in the database. You designate methods as stored procedures by applying the FunctionAttribute attribute and, where required, the ParameterAttribute attribute. For more information, see The LINQ to SQL Object Model.
Developers using Visual Studio would typically use the Object Relational Designer to map stored procedures. Object Relational Designer (O/R Designer)
Object Relational Designer (O/R Designer) The topics in this section show how to form and call these methods in your application if you write the code yourself.