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. data access that apply for and data source

data access that apply for and data source

Scheduled Pinned Locked Moved Database
databasehelpcsharpasp-netsql-server
4 Posts 2 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.
  • H Offline
    H Offline
    Hassan Amaar
    wrote on last edited by
    #1

    Hi all, I am developing an asp.net application and i want to develop data access layer that is applicable for any data source type for example(sql server orcle). is there any one have an idea about implementing this data layer without using oldbe connection. it is important to say that i don't use any stored procedure ,I am dealing with database at run time using .net without any stored procedure or functions. I will be gratefull if anyone can help me with this issue Best regards, Hassan Amaar.

    Hassan Amaar

    P 1 Reply Last reply
    0
    • H Hassan Amaar

      Hi all, I am developing an asp.net application and i want to develop data access layer that is applicable for any data source type for example(sql server orcle). is there any one have an idea about implementing this data layer without using oldbe connection. it is important to say that i don't use any stored procedure ,I am dealing with database at run time using .net without any stored procedure or functions. I will be gratefull if anyone can help me with this issue Best regards, Hassan Amaar.

      Hassan Amaar

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

      If you are dealing with multiple sources, you need to consider using the Factory pattern. Fortunately for you, MS has spent a lot of time and money extracting the interfaces out into relevant factories. This article is a small starting point for you: http://davidhayden.com/blog/dave/archive/2006/04/04/2900.aspx[^]

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

      H 1 Reply Last reply
      0
      • P Pete OHanlon

        If you are dealing with multiple sources, you need to consider using the Factory pattern. Fortunately for you, MS has spent a lot of time and money extracting the interfaces out into relevant factories. This article is a small starting point for you: http://davidhayden.com/blog/dave/archive/2006/04/04/2900.aspx[^]

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

        H Offline
        H Offline
        Hassan Amaar
        wrote on last edited by
        #3

        Thanks alot I do appreciate your help

        Hassan Amaar

        P 1 Reply Last reply
        0
        • H Hassan Amaar

          Thanks alot I do appreciate your help

          Hassan Amaar

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

          Not a problem. I'm glad to help with questions like this.

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

          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