-
Notifications
You must be signed in to change notification settings - Fork 3
/
DALBenchmark.exe.config
28 lines (28 loc) · 1.5 KB
/
DALBenchmark.exe.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework" requirePermission="false" />
</configSections>
<appSettings>
<add key="PostgresConnectionString" value="server=localhost;database=Benchmark;user=revenj;password=revenj"/>
<add key="MsSqlConnectionString" value="server=localhost\sqlexpress;database=Benchmark;Integrated security=true"/>
</appSettings>
<entityFramework>
<providers>
<provider invariantName="Npgsql" type="Npgsql.NpgsqlServices, Npgsql.EntityFramework" />
</providers>
</entityFramework>
<system.data>
<DbProviderFactories>
<remove invariant="Npgsql"/>
<add name="Npgsql Data Provider"
invariant="Npgsql"
description=".Net Data Provider for PostgreSQL"
type="Npgsql.NpgsqlFactory, Npgsql, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7"
support="FF" />
</DbProviderFactories>
</system.data>
<connectionStrings>
<add name="EfContext" connectionString="metadata=res://*/EntityModel.csdl|res://*/EntityModel.ssdl|res://*/EntityModel.msl;provider=Npgsql;provider connection string="PORT=5432;TIMEOUT=15;POOLING=True;MINPOOLSIZE=1;MAXPOOLSIZE=20;COMMANDTIMEOUT=20;COMPATIBLE=2.2.4.3;DATABASE=Benchmark;HOST=localhost;PASSWORD=revenj;USER ID=revenj"" providerName="System.Data.EntityClient" />
</connectionStrings>
</configuration>