Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. LINQ
  4. System stored procedures are not available in LINQ to SQL

System stored procedures are not available in LINQ to SQL

Scheduled Pinned Locked Moved LINQ
csharpsharepointdatabaselinqsysadmin
3 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sendilkumar M
    wrote on last edited by
    #1

    I want to use "sp_fkeys" system stored procedures inside LINQ to SQL.But all system stored procedures are not available in Server explorer to drag and drop into function pans in LINQ to Sql designer.Please tell me how i can get.

    M.Sendilkumar

    J 1 Reply Last reply
    0
    • S Sendilkumar M

      I want to use "sp_fkeys" system stored procedures inside LINQ to SQL.But all system stored procedures are not available in Server explorer to drag and drop into function pans in LINQ to Sql designer.Please tell me how i can get.

      M.Sendilkumar

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      One option would be make your own stored procedure that simply calls the system one. Then call your user-created sproc from LINQ.

      Tech, life, family, faith: Give me a visit. I'm currently blogging about: Feelings-Based Morality of the Secular World The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

      S 1 Reply Last reply
      0
      • J Judah Gabriel Himango

        One option would be make your own stored procedure that simply calls the system one. Then call your user-created sproc from LINQ.

        Tech, life, family, faith: Give me a visit. I'm currently blogging about: Feelings-Based Morality of the Secular World The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

        S Offline
        S Offline
        Sendilkumar M
        wrote on last edited by
        #3

        It is good idea.I tried.It is working for sp_pkeys stored procedure,but not for sp_fkeys.Ok! The issue is,access rights to sysinformation.If the user has enough rights to access sys ,sp_**** procs can be accessed from server explorer to LINQ to Sql DataContext designer.

        M.Sendilkumar

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups