S
S. Lorétan
Hi guys,
I'm coding an application connected to a database. I have some clients that
use this program with 2 or 3 computers, and I use MsSQL Express for them.
But if the client needs more computers to be connected to the database, I
have to use a standard MsSQL. No problem with that, but I want to be able to
switch from a database provider to another in an easy way.
I know that this way to do is called "Data(base) abstraction layer", but I
don't know how to use it. I've read some articles around the Internet, like
this one http://www.codeproject.com/cs/database/dalgen.asp, but I don't want
to have to regenerate source code each time I change the database. If it is
possible, I would like to use SQL to do my queries, and I have to be able to
do "complex" queries (joining, subselecting, ...).
The databases I would like to be able to use are MsSQL (Express or not),
MySQL, and if possible Oracle.
Is there something to do this in the Framework? Or maybe some open source
library?
Thank you for your help.
I'm coding an application connected to a database. I have some clients that
use this program with 2 or 3 computers, and I use MsSQL Express for them.
But if the client needs more computers to be connected to the database, I
have to use a standard MsSQL. No problem with that, but I want to be able to
switch from a database provider to another in an easy way.
I know that this way to do is called "Data(base) abstraction layer", but I
don't know how to use it. I've read some articles around the Internet, like
this one http://www.codeproject.com/cs/database/dalgen.asp, but I don't want
to have to regenerate source code each time I change the database. If it is
possible, I would like to use SQL to do my queries, and I have to be able to
do "complex" queries (joining, subselecting, ...).
The databases I would like to be able to use are MsSQL (Express or not),
MySQL, and if possible Oracle.
Is there something to do this in the Framework? Or maybe some open source
library?
Thank you for your help.