public abstract class ProviderBase
{
static private ProviderBase instance = null;
static public ProviderBase Instance
{
get
{
if (instance == null)
instance = new DBSQLProvider();
instance = (ProviderBase)Activator.CreateInstance(
Type.GetType("DBSQLProvider"));
Return instance
}