"providers": {
                            "SqlServer": "System.Data.SqlClient",
    "Oracle": "Oracle.ManagedDataAccess.Client",
    "MySql": "MySql.Data.MySqlClient",
    "SQLite": "System.Data.SQLite",
    "Sinoregal": "IBM.Data.Informix.11.1.0",
    "PostgreSQL": "Npgsql"
  }

数据库连接串


BCDbConnection connectionN = _dbConnectionProvider.GetConnection(pfParams, sbDb.ToString(), _configuration.GetValue<string>($"providers:{connectionO.DatabaseType.ToString()}"));


                        StringBuilder sbDb = new StringBuilder(_dbProviderManager.GetConnectionString(pfParams, connName).Write[0]);
文档更新时间: 2021-09-14 22:17   作者:admin