개정판 4a41c345
SELECT_RUNANDPROPERTY_INSERT 수정,textbox validation
Change-Id: I99845f06c03798e4a784a122222b2f580966f7fa
ConvertService/ServiceController/StationControllerService/DataService.svc.cs | ||
---|---|---|
273 | 273 |
|
274 | 274 |
return result; |
275 | 275 |
} |
276 |
public List<SELECT_RUN_PROJECTS_INSERT_Result> GET_RUN_PROJECTS_INSERT(string p_PROJECT_NO, string p_PROJECT_NAME) |
|
277 |
{ |
|
278 |
|
|
279 |
List<SELECT_RUN_PROJECTS_INSERT_Result> result = new List<SELECT_RUN_PROJECTS_INSERT_Result>(); |
|
280 |
|
|
281 |
try |
|
282 |
{ |
|
283 |
//var connectionstring = Properties.Resources.ConnectionString; |
|
284 |
|
|
285 |
using (markusEntities entities = new markusEntities()) |
|
286 |
{ |
|
287 |
result = entities.SELECT_RUN_PROJECTS_INSERT(p_PROJECT_NO, p_PROJECT_NAME).ToList(); |
|
288 |
} |
|
289 |
} |
|
290 |
catch (Exception ex) |
|
291 |
{ |
|
292 |
System.Diagnostics.Debug.WriteLine(ex.ToString()); |
|
293 |
throw new FaultException("GET_RUN_PROJECTS_INSERT"); |
|
294 |
} |
|
295 | 276 |
|
296 |
return result; |
|
297 |
} |
|
298 |
public int GET_PROPERTIES_INSERT(string p_TYPE, string p_PROPERTY, string p_VALUE) |
|
277 |
public int GET_RUNANDPROPERTY_INSERT(string p_PROJECT_NO, string p_PROJECT_NAME, string p_TYPE_InitialCatalog, string p_VALUE_InitialCatalog, string p_TYPE_TileSorceStorage, string p_VALUE_TileSorceStorage, string p_TYPE_TileSourcePath, string p_VALUE_TileSourcePath, string p_TYPE_FinalPDFStorageRemote, |
|
278 |
string p_VALUE_FinalPDFStorageRemote, string p_TYPE_FinalPDFStorageLocal, string p_VALUE_FinalPDFStorageLocal, string p_TYPE_UpLoadServiceUrl, string p_VALUE_UpLoadServiceUrl) |
|
299 | 279 |
{ |
280 |
|
|
300 | 281 |
int result; |
301 | 282 |
|
302 | 283 |
try |
... | ... | |
305 | 286 |
|
306 | 287 |
using (markusEntities entities = new markusEntities()) |
307 | 288 |
{ |
308 |
result = entities.SELECT_PROPERTIES_INSERT(p_TYPE, p_PROPERTY, p_VALUE); |
|
289 |
result = entities.SELECT_RUNANDPROPERTY_INSERT(p_PROJECT_NO, p_PROJECT_NAME, p_TYPE_InitialCatalog, p_VALUE_InitialCatalog, p_TYPE_TileSorceStorage, p_VALUE_TileSorceStorage, p_TYPE_TileSourcePath, p_VALUE_TileSourcePath, p_TYPE_FinalPDFStorageRemote, |
|
290 |
p_VALUE_FinalPDFStorageRemote, p_TYPE_FinalPDFStorageLocal, p_VALUE_FinalPDFStorageLocal, p_TYPE_UpLoadServiceUrl, p_VALUE_UpLoadServiceUrl); |
|
309 | 291 |
} |
310 | 292 |
} |
311 | 293 |
catch (Exception ex) |
312 | 294 |
{ |
313 | 295 |
System.Diagnostics.Debug.WriteLine(ex.ToString()); |
314 |
throw new FaultException("GET_PROPERTIES_INSERT");
|
|
296 |
throw new FaultException("GET_RUNANDPROPERTY_INSERT");
|
|
315 | 297 |
} |
316 | 298 |
|
317 | 299 |
return result; |
300 |
|
|
318 | 301 |
} |
302 |
|
|
319 | 303 |
} |
320 | 304 |
} |
내보내기 Unified diff