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. C#
  4. Database Connectivity/Query class

Database Connectivity/Query class

Scheduled Pinned Locked Moved C#
databasesql-serveroraclecomsysadmin
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.
  • T Offline
    T Offline
    t4ure4n
    wrote on last edited by
    #1

    Hello Guys, I have to connect to Oracle and SQL Server in my database projects. So I have to write the code to connect and query these tables... I am looking for a class/assembly that provides connectivity/query facility for 2 databases (oracle and SQL Server). I should be able to pass connection parameters from my application. Then use the methods to query the database through the class/dll. I have seen one @ DB Connectivity Provider[^] If any one known of one please let know. Thanks in advance

    o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

    M W 2 Replies Last reply
    0
    • T t4ure4n

      Hello Guys, I have to connect to Oracle and SQL Server in my database projects. So I have to write the code to connect and query these tables... I am looking for a class/assembly that provides connectivity/query facility for 2 databases (oracle and SQL Server). I should be able to pass connection parameters from my application. Then use the methods to query the database through the class/dll. I have seen one @ DB Connectivity Provider[^] If any one known of one please let know. Thanks in advance

      o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

      M Offline
      M Offline
      Mirko1980
      wrote on last edited by
      #2

      You can use Data Access Application Block from Enterprise Library: Link[^]

      1 Reply Last reply
      0
      • T t4ure4n

        Hello Guys, I have to connect to Oracle and SQL Server in my database projects. So I have to write the code to connect and query these tables... I am looking for a class/assembly that provides connectivity/query facility for 2 databases (oracle and SQL Server). I should be able to pass connection parameters from my application. Then use the methods to query the database through the class/dll. I have seen one @ DB Connectivity Provider[^] If any one known of one please let know. Thanks in advance

        o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

        W Offline
        W Offline
        Wendelius
        wrote on last edited by
        #3

        A little bit different approach: You can connect to Oracle from SQL Server and vice versa. After that you can for example define a view that actually hides where the data is coming from, so basically your application can connect to a single database and still get data from multiple databases but the application does not see it. In some cases this is easier to implement.

        The need to optimize rises from a bad design.My articles[^]

        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