개정판 264c9309
issue #660: Smart Updater 수정중
Change-Id: I573a5f58b4f34a4fddb68dc670aaf5c770cf5d07
KCOM_API/ServiceDeepView.svc.cs | ||
---|---|---|
31 | 31 |
// return null; |
32 | 32 |
//} |
33 | 33 |
|
34 |
[OperationContract] |
|
35 |
public string GetVersionData(bool is64BitProcess, string markusVer) |
|
36 |
{ |
|
37 |
string url = null; |
|
38 |
try |
|
39 |
{ |
|
40 |
using (KCOMEntities uc = new KCOMEntities(ConnectStringBuilder.KCOMConnectionString().ToString())) |
|
41 |
{ |
|
42 |
|
|
43 |
if (is64BitProcess) //64 bit machine |
|
44 |
{ |
|
45 |
url = uc.PROPERTIES.Where(data => data.TYPE == "Update_x64" |
|
46 |
&& data.PROPERTY != markusVer).FirstOrDefault().VALUE; |
|
47 |
} |
|
48 |
else |
|
49 |
{ |
|
50 |
url = uc.PROPERTIES.Where(data => data.TYPE == "Update_x84" |
|
51 |
&& data.PROPERTY != markusVer).FirstOrDefault().VALUE; |
|
52 |
} |
|
53 |
|
|
54 |
} |
|
55 |
} |
|
56 |
catch (Exception) |
|
57 |
{ |
|
58 |
url = null; |
|
59 |
} |
|
60 |
return url; |
|
61 |
} |
|
62 |
|
|
34 | 63 |
|
35 | 64 |
[OperationContract] |
36 | 65 |
public KCOM_SystemInfo GetSystemData() |
... | ... | |
90 | 119 |
[OperationContract] |
91 | 120 |
public List<FAVORITE_DOC> GetFavoriteVP(string PrjNo, string userID, string sharepointItemID) |
92 | 121 |
{ |
93 |
|
|
94 |
|
|
95 | 122 |
using (KCOMEntities dc = new KCOMEntities(ConnectStringBuilder.KCOMConnectionString().ToString())) |
96 | 123 |
{ |
97 | 124 |
|
내보내기 Unified diff