db.provider.json

{
  "DbConnectionStrings": [
    {
      "name": "mssql",
      "connectionString": "Data Source=localhost;Initial Catalog=Master;User Id=sa;Password=1234;",
      "providerName": "System.Data.SqlClient"
    },
    {
      "name": "oracle",
      "connectionString": "Source=localhost/orcl;User Id=user;Password=password;",
      "providerName": "Oracle.ManagedDataAccess.Client"
    },
    {
      "name": "mysql",
      "connectionString": "Data Source=localhost;Initial Catalog=user;User Id=root;Password=1234;",
      "providerName": "Pomelo.Data.MySql"
    },
    {
      "name": "sqlite",
      "connectionString": "Data Source=data.db",
      "providerName": "Microsoft.Data.Sqlite"
    },
    {
      "name": "pgsql",
      "connectionString": "Host=localhost;Database=postgres;Username=postgres;Password=1234;",
      "providerName": "Npgsql"
    }
  ],
  "DbProviderFactories": [
    {
      "name": "SqlClient Data Provider",
      "invariant": "System.Data.SqlClient",
      "description": ".Net Framework Data Provider for SqlServer",
      "type": "System.Data.SqlClient.SqlClientFactory, System.Data.SqlClient"
    },
    {
      "name": "MySQL Data Provider",
      "invariant": "MySql.Data.MySqlClient",
      "description": ".Net Framework Data Provider for MySql",
      "type": "MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=8.0.21.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"
    },
    {
      "name": "SQLite Data Provider",
      "invariant": "Microsoft.Data.Sqlite",
      "description": ".Net Framework Data Provider for SQLite",
      "type": "Microsoft.Data.Sqlite.SqliteFactory, Microsoft.Data.Sqlite"
    },
    {
      "name": "Npgsql Data Provider",
      "invariant": "Npgsql",
      "description": ".Net Framework Data Provider for PostgreSql",
      "type": "Npgsql.NpgsqlFactory, Npgsql"
    },
    {
      "name": "ODP.NET, Managed Driver",
      "invariant": "Oracle.ManagedDataAccess.Client",
      "description": "Oracle Data Provider for .NET, Managed Driver",
      "type": "Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess"
    }
  ],
  "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"
  }
} 

文档更新时间: 2021-08-22 08:00   作者:admin