public static IDbStructAnalysisProvider GetDbStructAnalysisProvider(int dbType) { try { ISQLAnalysisFactory factory = GetSQLAnalysisFactory((DbTypeEnum)dbType); return(factory.GetDbStructAnalysisProvider()); } catch (Exception) { throw new ArgumentException("不支持的数据库类型!", "dbType"); } }
public static IDbStructAnalysisProvider GetDbStructAnalysisProvider(DbTypeEnum dbType) { ISQLAnalysisFactory factory = GetSQLAnalysisFactory(dbType); return(factory.GetDbStructAnalysisProvider()); }