A small addition - business entity objects are unnecessary unless you want
to encapsulate some complex operations on entity data into the business
entity classes.
According to Microsoft, using business entity objects as simple data holders
is not a good practice. More regular means such as DataSets should rather be
used for this purpose.
The business logic classes, therefore, should use these DataSets and perform
the logic itself over data stored there. If there are explicit constraints,
however, these
should be defined by means of the DataSet XSD schema.
"Simon Harvey" <si**********@the-web-works.co.uk> wrote in message
news:uE*************@TK2MSFTNGP11.phx.gbl...
Hello Chaps,
Me and a collegue have been talking about where the best place to put
business logic is.
I think that the best place is where Microsoft suggest - in a seperate
business logic layer. The alternative is to have all the logic in with the
business entity objects, thus eliminating the business logic layer.
The reason that I prefer the seperate layer is because I think its more
flexible.
I was hoping someone might have further insight into this for us
Thanks all
Simon