PC Review


Reply
Thread Tools Rate Thread

business object collection

 
 
ECathell
Guest
Posts: n/a
 
      5th Apr 2005
I have an object called box. It has the following properties

BoxType
BoxTare
BoxDescription

it is in a Namespace of x.database.Boxes

Box is a row in my database, but in my UI I will be binding a list of boxes to a ListBox. Should I make a collection object for this in my UI? Or should I make a Boxes.Collection object that inherits from a collectionBase?

I dont know if my question makes a lot of sense. Personally I think my object should hold all the necessary information and my ui simply displays it. So I would have the following:

x.database.boxes would contain a Box class and a Collection Class of type boxes. Is this right?

--
--Eric Cathell, MCSA
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Business Object Collection And DataGridView Claude Microsoft C# .NET 4 8th Apr 2008 09:04 AM
Collection problems (create Collection object, add data to collection, bind collection to datagrid) Øyvind Isaksen Microsoft ASP .NET 1 18th May 2007 10:24 AM
Collection problems (create Collection object, add data to collection, bind collection to datagrid) Øyvind Isaksen Microsoft Dot NET 1 18th May 2007 10:24 AM
Best practice keeping business object collection synced to DB Alfred Taylor Microsoft C# .NET 9 2nd Jul 2005 11:22 AM
Business Object Broken Rules Collection Ken Microsoft Dot NET Framework Forms 0 12th Nov 2003 05:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:27 PM.