问题描述:

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

}

相关阅读:
Top