发布1212
大石头 authored at 2019-12-12 23:38:12
1.47 KiB
X
{
  "Logging": {
    "IncludeScopes": false,
    "LogLevel": {
      "Default": "Warning"
    }
  },
  "ConnectionStrings": {
    "SQLite": {
      "connectionString": "Data Source=test.db;",
      "providerNamee": "Sqlite"
    },
    "MySql": {
      "connectionString": "Server=.;Port=3306;Database=mysql;Uid=root;Pwd=;",
      "providerName": "MySql.Data.MySqlClient"
    },
    "MSSQL": {
      "connectionString": "Server=.;User ID=sa;Password=sa;Database=Test;datapath=~\\App_Data",
      "providerName": "System.Data.SqlClient"
    },
    "Oracle": {
      "connectionString": "Data Source=Tcp://127.0.0.1/ORC;User ID=sys;Password=admin;Owner=mis",
      "providerName": "System.Data.OracleClient"
    },
    "PostgreSQL": {
      "connectionString": "Server=.;Database=master;Uid=root;Pwd=root;",
      "providerName": "PostgreSQL.Data.PostgreSQLClient"
    },
    "MSSQL2": {
      "connectionString": "Server=.;Integrated Security=SSPI;Database=Test",
      "providerName": "System.Data.SqlClient"
    },
    "Oracle2": {
      "connectionString": "Data Source=orc;User ID=sys;Password=admin;",
      "providerName": "System.Data.OracleClient"
    },
    //OLE DB Services=-1��ʾ�����ӳ�
    "Access": {
      "connectionString": "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=~\\App_Data\\Test.mdb;Persist Security Info=False;OLE DB Services=-1",
      "providerName": "Access"
    },
    "SqlCe": {
      "connectionString": "Data Source=test.sdf;",
      "providerName": "SqlCe"
    }
  }
}