switch (db.DbProviderFactory.GetType().Name) { case "SqlClientFactory": break; case "MySqlClientFactory": throw new Exception("系统暂时还没有实现MySql数据库-日结功能"); }
时间: 2024-10-03 21:54:16
switch (db.DbProviderFactory.GetType().Name) { case "SqlClientFactory": break; case "MySqlClientFactory": throw new Exception("系统暂时还没有实现MySql数据库-日结功能"); }