S
Sharon
Hi all
I'm developing an application assembled from 10 different projects like:
Web services, Client project, Error handling project, class library , and
more .
Most of those projects need to get Database services to insert / Read
information
How do I plan correctly the database interfacing?
I thought of several ways:
Project containing DB classes and one class is the DB interface using static
methods like SELECT / DELETE . INSERT .
dbInt.SELECT(.);
Or regular class that each project will have to make an instance
DB dbImp = newDB()
dbImp.SELECT(.);
And in the select function I will implement the data lock / Wait for data
synchronization.
Please advise me what to do
Thank you
Sharon
I'm developing an application assembled from 10 different projects like:
Web services, Client project, Error handling project, class library , and
more .
Most of those projects need to get Database services to insert / Read
information
How do I plan correctly the database interfacing?
I thought of several ways:
Project containing DB classes and one class is the DB interface using static
methods like SELECT / DELETE . INSERT .
dbInt.SELECT(.);
Or regular class that each project will have to make an instance
DB dbImp = newDB()
dbImp.SELECT(.);
And in the select function I will implement the data lock / Wait for data
synchronization.
Please advise me what to do
Thank you
Sharon