Business Objects

    Date: 04/20/06 (C Sharp)    Keywords: software, web

    I'm writing some inventory control software (still!) and I've got a question about how best to implement my business objects.

    Basically, my question is, do my Business Objects themselves encapsulate the functionality of updating themselves? For example, should I have methods such as InventoryItem.UpdateToDB and InventoryItem.GetFromDB?

    Does anyone here have some good website or book recommendations for these kind of questions? I've always been a good coder, but I'm never sure of my actual design skills.


    Also, what is the best way to check foreign key constrains? Should I use some kind Relation class like a dataset has, or is there a better\easier\doubleplusgooder way?

    Source: http://community.livejournal.com/csharp/59595.html

« Myspace.com is hiring .NET... || Website forms »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home