Skip to content

sessionliang/pro.Localink.Modules.Settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

module-settings

开发环境:VS2015 , .Net Framework 4.6.1 , TypeScript 2.2

  1. 下载之后,先还原Nuget包,然后生成。Nuget包地址:http://101.200.203.219:923/nuget

  2. 修改Tests文件夹中Web项目的web.config。主要是ConnectString。

  3. 把Tests下生成的bin内的文件拷贝到项目根目录dbMigrator文件夹中,然后在packages中找到\EntityFramework.6.1.3\tools,把其中的文件也复制到dbMigrator中,然后打开cmd,运行下面命令。

    migrate.exe Localink.Platform.EntityFramework /connectionString="Server=localhost;Database=数据库名称;User=sa;Password=密码;" /connectionProviderName="System.Data.SqlClient"

    migrate.exe Localink.Modules.CMS.EntityFramework /connectionString="Server=localhost;Database=数据库名称;User=sa;Password=密码;" /connectionProviderName="System.Data.SqlClient"

    migrate.exe Localink.Modules.Main.EntityFramework /connectionString="Server=localhost;Database=数据库名称;User=sa;Password=密码;" /connectionProviderName="System.Data.SqlClient"

    migrate.exe Localink.Modules.Settings.EntityFramework /connectionString="Server=localhost;Database=数据库名称;User=sa;Password=密码;" /connectionProviderName="System.Data.SqlClient"

  4. F5运行。

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published