> I have a multithreaded app which now needs database storage.[color=blue]
> I am in the process of designing my Data Access Layer but and was wondering
> what issues I should look for for in regards to a multi threaded app.[/color]
Performance, resources, scalability. Look at connection pools and thread pool
[color=blue]
> My app will be need to initiate access to the database from several places
> in the Business logic. I'd appreaciate any advice/suggesstions on best
> practices to avoid problems such as accessing the same method in the data
> access layer form different parts of the business logic at the same time etc,[/color]
It's not very good solution to block table from the business logic
perspective.
DBs have concept of ACID see there
http://www.service-architecture.com/...roperties.html or
in MSDN that allow to specyfy which level of isolation do u need to apply for
your tables. Scrutinize DB manuals to get more info about it
--
WBR,
Michael Nemtsev :: blog:
http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche