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. Does table relationships is necessary in .dbml file

Does table relationships is necessary in .dbml file

Scheduled Pinned Locked Moved LINQ
csharpasp-netlearning
3 Posts 2 Posters 6 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.
  • R Offline
    R Offline
    Ranjeet from delhi
    wrote on last edited by
    #1

    Hi I am Beginner for asp.net 3.5 .I want to know that is it must necessary to make a relationship between Tables (one to many relationship) which have drag on .dbml file.Because i have some table which has no primary key and foreign key relationship and use for only display some static reports on the site,so i can't make a relation with these tables to another table. Thanks and regards Ranjeet Kumar Singh.

    Ranjeet Singh

    P 1 Reply Last reply
    0
    • R Ranjeet from delhi

      Hi I am Beginner for asp.net 3.5 .I want to know that is it must necessary to make a relationship between Tables (one to many relationship) which have drag on .dbml file.Because i have some table which has no primary key and foreign key relationship and use for only display some static reports on the site,so i can't make a relation with these tables to another table. Thanks and regards Ranjeet Kumar Singh.

      Ranjeet Singh

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      It is not necessary to make a relationship if one doesn't exist in the database.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      R 1 Reply Last reply
      0
      • P Pete OHanlon

        It is not necessary to make a relationship if one doesn't exist in the database.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        R Offline
        R Offline
        Ranjeet from delhi
        wrote on last edited by
        #3

        Thanks....

        Ranjeet Singh

        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