-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.config
20 lines (20 loc) · 1.89 KB
/
App.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<startup>D:\Documents\Cours\S9\SQL\TicketsManager\SNCF_2\App.config
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /></startup>
<connectionStrings>
<add name="MyContext" connectionString="server=localhost;port=3306;database=sncf;uid=root;password=root" providerName="MySql.Data.MySqlClient" />
<add name="SNCF_2.Properties.Settings.sncfConnectionString" connectionString="server=localhost;uid=root;database=sncf;password=root;persistsecurityinfo=True;allowuservariables=True;keepalive=1" providerName="MySql.Data.MySqlClient" />
<add name="sncfEntities" connectionString="metadata=res://*/sncfModel.csdl|res://*/sncfModel.ssdl|res://*/sncfModel.msl;provider=MySql.Data.MySqlClient;provider connection string="server=localhost;uid=root;database=sncf;password=root;persistsecurityinfo=True;allowuservariables=True;keepalive=1"" providerName="System.Data.EntityClient" /></connectionStrings>
<entityFramework codeConfigurationType="MySql.Data.Entity.MySqlEFConfiguration, MySql.Data.Entity.EF6">
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
<providers>
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
</configuration>