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. Design and Architecture
  4. three-tier architecture, provider model design pattern and strongly-typed dataset

three-tier architecture, provider model design pattern and strongly-typed dataset

Scheduled Pinned Locked Moved Design and Architecture
architecturedesignregextutorialquestion
1 Posts 1 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.
  • P Offline
    P Offline
    pierpaolo paparo
    wrote on last edited by
    #1

    Hi All, I would like to build a three tier application in which the DAL layer is based on the provider model design patter, and the BLL will be coded to an abstarct layer interface. As an example in the DAL I would have IProductsProvider class, IProducts class ICategoriesProvider class, ICategories class the BLL will be coded against the ProductsProvider and ICategoriesProvider. An actual implementation of the IProductsProvider could be SQLProductsProvider or XMLProductsProvider How is it possible to implement a similar pattern with strongly-type datasets? As an example I would like to define a kind of strongly-typed datatable and tableadapters or datasets... IProductsTableAdapter IProductTable ICategoriesTableAdapter ICategoriesTable and code the BLL versus these interfaces, and then have SQLProductsTableAdapter implements IProductsTableAdapter SQLProductsTable implements IProductsTable this is to allow the switch of different providers without having to rewrite the BLL code. Thanks

    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