-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
19 lines (14 loc) · 1.59 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Before use the program, you need to follow these step to create database and change the connection to the database
Step 1: open folder ScriptsForDatabase\ScriptrForDatabase.sql and run the whole script
Step 2: open App.config, change
<connectionStrings>
<!--<add name="QUANLYSIEUTHIEntities" connectionString="metadata=res://*/Model.Model1.csdl|res://*/Model.Model1.ssdl|res://*/Model.Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=.\SQLEXPRESS ;initial catalog=QUANLYSIEUTHI;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />-->
<add name="QUANLYSIEUTHIEntities" connectionString="metadata=res://*/Model.Model1.csdl|res://*/Model.Model1.ssdl|res://*/Model.Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=.\mssqlserver01 ;initial catalog=QUANLYSIEUTHI;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
</connectionStrings>
to
<connectionStrings>
<add name="QUANLYSIEUTHIEntities" connectionString="metadata=res://*/Model.Model1.csdl|res://*/Model.Model1.ssdl|res://*/Model.Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=.\Your database name ;initial catalog=QUANLYSIEUTHI;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
</connectionStrings>
Username: admin123
Password: admin123
*Notice*: If there is any package missing, change name folder "packages - Copy" to "packages"