Execute Stored Procedures using ExecuteMethod in LINQ RRS feed

  • Question

  • Hi,
    Here is my scenario:

    - Each file has anywhere from 0 to two stored procedures that it can execute.  The stored procedures can be developed as per need so there is no way for me to add this 'imaginery' stored procedure to DBML, but i can enforce using certain naming convention.  Now each file type is checked in DB and see if any stored procedures are assigned, if yes execute SP.

    Can i accomplish this using Context.ExecuteMethod("usp_DoSomething", new object [] { 1 })?

    your help is always appreciated.

    Friday, October 23, 2009 1:39 PM


All replies