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. Database & SysAdmin
  3. Database
  4. Entity framework - Fetching values from the middle table in many to many relationships

Entity framework - Fetching values from the middle table in many to many relationships

Scheduled Pinned Locked Moved Database
help
3 Posts 3 Posters 0 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.
  • M Offline
    M Offline
    mrkeivan
    wrote on last edited by
    #1

    Hi, I've been looking for an answer for quite a while but no luck, I'm sure u guys can help me out. I have 3 tables Roles > MId PK Members > RId PK Members_Roles (MId, RId) I'm new to this so would appreciate ur help. Regards, K

    C G 2 Replies Last reply
    0
    • M mrkeivan

      Hi, I've been looking for an answer for quite a while but no luck, I'm sure u guys can help me out. I have 3 tables Roles > MId PK Members > RId PK Members_Roles (MId, RId) I'm new to this so would appreciate ur help. Regards, K

      C Offline
      C Offline
      Chris Meech
      wrote on last edited by
      #2

      You are going to have to post a real question in order to get an answer. However this[^] might be a starting point for you. :)

      Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

      1 Reply Last reply
      0
      • M mrkeivan

        Hi, I've been looking for an answer for quite a while but no luck, I'm sure u guys can help me out. I have 3 tables Roles > MId PK Members > RId PK Members_Roles (MId, RId) I'm new to this so would appreciate ur help. Regards, K

        G Offline
        G Offline
        Ganu Sharma
        wrote on last edited by
        #3

        try this........... select m.* from roles r, member m, member_roles p where r.mid = p.rid and m.rid = p.rid

        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