개정판 81d15568
issue #0000
ID2 프로젝트 정보 조회 진행
Change-Id: I48213e8fd4bb8bb8045e07e7a2f3cbcd5080e92b
ID2.Manager/ID2.Manager.Dapper/Repository/BaseRepository.cs | ||
---|---|---|
86 | 86 |
|
87 | 87 |
public SQLiteConnection SQLiteDBConnection(string connectionStr) |
88 | 88 |
{ |
89 |
if (System.IO.Directory.Exists(connectionStr)) |
|
90 |
{ |
|
91 |
throw new Exception("ID2 db file does not exist."); |
|
92 |
} |
|
93 |
|
|
89 | 94 |
return new SQLiteConnection(connectionStr, true); |
90 | 95 |
} |
91 | 96 |
|
내보내기 Unified diff