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

            return(factory.GetDbStructAnalysisProvider());
        }