Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
YAQ on BIZ and DA tiers
Message
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01419401
Message ID:
01419424
Views:
46
>>>>Hi,
>>>>
>>>>I am trying to better understand the basics of 3-tier design. I am actually refactoring my VFP application to be a 3-tier design but prefer to ask general question(s) on .NET forum.
>>>>
>>>>In the 3-tier application you have a bunch of BIZ objects, for different entities. That is clear. Is it correct to assume that there should be only one DA object that all BIZ objects use to update the database?
>>>>
>>>>(Side note. In my VFP application no matter how I try I can't seem to design it this way. So, so far, I end up having a separate DA object for each BIZ object. This is probably wrong but I want to be sure).
>>>
>>>Each Biz Object will use its own dataset, if this is the question.
>>
>>This wasn't exactly my question. Dataset is a mechanism of sending data between tiers (specific to .NET world). My question was more generic.
>
>What exactly do you have in your Data Access class?

First, the word I should have used in my reply is "general" instead of "generic". Anyway, it is not important what specifically I have in DA class. But generally speaking I have code there that saves user changes and/or additions to the database. And what I find - as I stated in my initial message - is that I am creating a separate DA class for each BIZ class. And I wanted to know if this is a problem in a "good practice type" 3-tier design approach.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform