How to wrap LINQ to SQL queries in stored proc?

Posted by Satish on Stack Overflow See other posts from Stack Overflow or by Satish
Published on 2010-04-01T02:24:09Z Indexed on 2010/04/01 2:33 UTC
Read the original article Hit count: 257

Filed under:

LINQ to SQL internally generates SQL queries and fire on the database after submitting changes. Is there any way we can wrap all these queries in some stored procedure and execute this store proc everytime when anything gets inserted or updated in the database.

Problem is only stored procedures are allowed to carry any insert or update or delete operations, direct queries are restricted for security purpose.

© Stack Overflow or respective owner

Related posts about linq-to-sql