企业库判断数据库连接类型
switch (db.DbProviderFactory.GetType().Name) { case "SqlClientFactory": break; case "MySqlClientFactory": throw new Exception("系统暂时还没有实现MySql数据库-日结功能"); }
switch (db.DbProviderFactory.GetType().Name) { case "SqlClientFactory": break; case "MySqlClientFactory": throw new Exception("系统暂时还没有实现MySql数据库-日结功能"); }