"Business Objects" and the DAL
- From: "Steve" <sss@xxxxxxx>
- Date: Wed, 15 Feb 2006 14:42:55 -0800
I *still* can't get my head around this.
In designing a basic n-tier application, what exactly is the relationship
between the "Business Objects" and the "Data Access Layer"?
In the past when I have attempted to make an n-tier application, business
objects end up basically being a representation of the data from the
database. I see terms like "Business Rules" and "Business Logic" and I just
don't understand what that is? I have a couple questions I hope someone can
answer for me:
1) Should the Business Objects make calls to the DAL? ( IE:
BusinessObjectCollection BusinessObject::GetCustomers() calls DataSet
Dal::GetCustomers() ) then the Business Object builds itself up from
the results of the DAL DataSet, or should there be a third class that gets a
DataSet from a DAL, then passes it to a business object to digest?
2) Can someone please give me 1 or 2 examples of a Business Rule and
Business Logic? Tons of articles make reference to the two, but finding an
example is next to impossible.
Spinning my wheels, I really hope someone can shed some light on this.
Thanks for reading,
Steve Klett
.
- Follow-Ups:
- Re: "Business Objects" and the DAL
- From: Damodar Periwal
- Re: "Business Objects" and the DAL
- From: Mike
- Re: "Business Objects" and the DAL
- From: Frans Bouma [C# MVP]
- Re: "Business Objects" and the DAL
- Prev by Date: Re: SQL syntax question
- Next by Date: Design query - inherited data structures
- Previous by thread: SQL syntax question
- Next by thread: Re: "Business Objects" and the DAL
- Index(es):
Relevant Pages
|