瀏覽代碼

remove unused comments.

master
yangxiaodong 7 年之前
父節點
當前提交
2454f5e48b
共有 1 個檔案被更改,包括 0 行新增5 行删除
  1. +0
    -5
      test/DotNetCore.CAP.EntityFrameworkCore.Test/ConnectionUtil.cs

+ 0
- 5
test/DotNetCore.CAP.EntityFrameworkCore.Test/ConnectionUtil.cs 查看文件

@@ -11,7 +11,6 @@ namespace DotNetCore.CAP.EntityFrameworkCore.Test
private const string MasterDatabaseName = "master";
private const string DefaultDatabaseName = @"DotNetCore.CAP.EntityFrameworkCore.Test";

//private const string DefaultConnectionStringTemplate = @"Server=.\sqlexpress;Database={0};Trusted_Connection=True;";
private const string DefaultConnectionStringTemplate = @"Server=192.168.2.206;Initial Catalog={0};User Id=sa;Password=123123;MultipleActiveResultSets=True";

public static string GetDatabaseName()
@@ -26,10 +25,6 @@ namespace DotNetCore.CAP.EntityFrameworkCore.Test

public static string GetConnectionString()
{
//if (Environment.GetEnvironmentVariable("ASPNETCore_Environment") == "Development")
//{
// return "Server=192.168.2.206;Initial Catalog=Test2;User Id=cmswuliu;Password=h7xY81agBn*Veiu3;MultipleActiveResultSets=True";
//}
return string.Format(GetConnectionStringTemplate(), GetDatabaseName());
}



Loading…
取消
儲存