프로젝트

일반

사용자정보

개정판 4a41c345

ID4a41c3451a2e2b5d2f3963fb2d06f6b514e488ae
상위 37ae964f
하위 f280a4ce

semi 이(가) 4년 이상 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)