개정판 06f13e11
한글 파일명 다운로드 에러 수정
멀티 서비스 수정
Change-Id: I1a7eb48f1c758d32c805eb0394c66b92f9d27330
ConvertService/ServiceBase/Markus.Service.DataBase/MarkusEntities.cs | ||
---|---|---|
15 | 15 |
public MarkusEntities(string ConnectionString) |
16 | 16 |
: base(ConnectionStringBuilder(ConnectionString).ToString()) |
17 | 17 |
{ |
18 |
this.Database.CommandTimeout = 300;
|
|
18 |
this.Database.CommandTimeout = 60;
|
|
19 | 19 |
} |
20 | 20 |
|
21 | 21 |
private static EntityConnectionStringBuilder ConnectionStringBuilder(string ConnectionString) |
22 | 22 |
{ |
23 | 23 |
//SqlConnectionStringBuilder _bl = new SqlConnectionStringBuilder(string.Format(Properties.Settings.Default.ProjectCIConnectionString, "DeepView")); |
24 | 24 |
SqlConnectionStringBuilder _bl = new SqlConnectionStringBuilder(ConnectionString); |
25 |
|
|
26 | 25 |
return EntityConnectionBuilder(_bl, MarkusMeta); |
27 | 26 |
} |
28 | 27 |
|
... | ... | |
33 | 32 |
|
34 | 33 |
EntityConnectionStringBuilder entityBuilder = new EntityConnectionStringBuilder(); |
35 | 34 |
|
35 |
|
|
36 | 36 |
entityBuilder.Provider = providerName; |
37 | 37 |
entityBuilder.ProviderConnectionString = providerString; |
38 | 38 |
entityBuilder.Metadata = EntityMetaData; |
39 |
//Console.WriteLine(entityBuilder.ToString()); |
|
40 | 39 |
|
40 |
//Console.WriteLine(entityBuilder.ToString()); |
|
41 |
|
|
41 | 42 |
using (EntityConnection conn = |
42 | 43 |
new EntityConnection(entityBuilder.ToString())) |
43 | 44 |
{ |
내보내기 Unified diff