개정판 b6abb7b8
issue #0000
- excel userlist db->information userlist로 변경
- id2 project db 조회 함수 추가-global
- basecontroller 에 id2 project db 조회 함수 적용
Change-Id: I560b546852173c40e4fc351a799842327f10447f
ID2.Manager/ID2.Manager.Controller/Controllers/BaseController.cs | ||
---|---|---|
9 | 9 |
|
10 | 10 |
using ID2.Manager.Dapper; |
11 | 11 |
using ID2.Manager.Data.Models; |
12 |
using ID2.Manager.Common; |
|
12 | 13 |
|
13 | 14 |
namespace ID2.Manager.Controller.Controllers |
14 | 15 |
{ |
... | ... | |
26 | 27 |
public BaseController(ID2ProjectInfo id2Info) |
27 | 28 |
{ |
28 | 29 |
this._MSSQLCONNSTR = ConfigurationManager.ConnectionStrings["ID2Manager"].ConnectionString; |
29 |
this._SQLITECONNSTR = String.Format(ConfigurationManager.AppSettings["ID2SQLite"], Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ConfigurationManager.AppSettings["ID2SQLiteInfo"])); |
|
30 |
this._SQLITECONNSTR = Globals.GetProjectDBConnstr(); //String.Format(ConfigurationManager.AppSettings["ID2SQLite"], Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ConfigurationManager.AppSettings["ID2SQLiteInfo"]));
|
|
30 | 31 |
this._MARKUSCONNSTR = ConfigurationManager.ConnectionStrings["Markus"].ToString(); |
31 | 32 |
|
32 | 33 |
if (id2Info == null || id2Info.Id <= 0) |
내보내기 Unified diff