Reputation: 1673
I read many articles talk about 3 tiers architecture in c# but i see that:
Almost use Bussiness Logic Layer(BLL) as a object mapping corresponding table in database. This BLL object has some methods like these:
+GetData()
: return this;
+Update(this)
;
+Insert(this)
;
+Delete(this)
;
This BLL object calls corresponding DAL(Data Access Layer) to execute to corresponding table of database.
BindingSource
with a Combobox
and a DataGridView
? And how can we seperate code in this situation?Upvotes: 7
Views: 28713
Reputation: 98868
There are 2 cool project about three tier architecture in C#.
3-tier architecture in C# and T̶h̶r̶e̶e̶ ̶L̶a̶y̶e̶r̶ ̶A̶r̶c̶h̶i̶t̶e̶c̶t̶u̶r̶e̶ ̶i̶n̶ ̶C̶#̶ ̶.̶N̶E̶T̶. Both projects are amazing specificly for you.
Upvotes: 4
Reputation: 2439
The above describe a very simple architecture of a 3-tier model.
This diagram describes an actual implementation of a 3-tier model.
Upvotes: 12