개정판 8770bd0a
dev issue #000 : db
Change-Id: I5b6b5a973b4cd7464fb39ca8231f174e7f9dfbd9
DTI_PID/SPPIDConverter/DB/Project_DB.cs | ||
---|---|---|
67 | 67 |
Project_Info projectInfo = Project_Info.GetInstance(); |
68 | 68 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
69 | 69 |
{ |
70 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, @"Data Source = {0}", projectInfo.DBFilePath))) |
|
70 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, @"Data Source = {0}", projectInfo.DBFilePath), true))
|
|
71 | 71 |
{ |
72 | 72 |
try |
73 | 73 |
{ |
... | ... | |
300 | 300 |
Project_Info projectInfo = Project_Info.GetInstance(); |
301 | 301 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
302 | 302 |
{ |
303 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
303 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
304 | 304 |
{ |
305 | 305 |
|
306 | 306 |
try |
... | ... | |
375 | 375 |
Project_Info projectInfo = Project_Info.GetInstance(); |
376 | 376 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
377 | 377 |
{ |
378 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
378 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
379 | 379 |
{ |
380 | 380 |
try |
381 | 381 |
{ |
... | ... | |
435 | 435 |
Project_Info projectInfo = Project_Info.GetInstance(); |
436 | 436 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
437 | 437 |
{ |
438 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
438 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
439 | 439 |
{ |
440 | 440 |
|
441 | 441 |
try |
... | ... | |
517 | 517 |
Project_Info projectInfo = Project_Info.GetInstance(); |
518 | 518 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
519 | 519 |
{ |
520 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
520 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
521 | 521 |
{ |
522 | 522 |
try |
523 | 523 |
{ |
... | ... | |
578 | 578 |
Project_Info projectInfo = Project_Info.GetInstance(); |
579 | 579 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
580 | 580 |
{ |
581 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
581 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
582 | 582 |
{ |
583 | 583 |
try |
584 | 584 |
{ |
... | ... | |
663 | 663 |
Project_Info projectInfo = Project_Info.GetInstance(); |
664 | 664 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
665 | 665 |
{ |
666 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
666 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
667 | 667 |
using (DataTable dt = new DataTable()) |
668 | 668 |
{ |
669 | 669 |
try |
... | ... | |
798 | 798 |
Project_Info projectInfo = Project_Info.GetInstance(); |
799 | 799 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
800 | 800 |
{ |
801 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
801 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
802 | 802 |
{ |
803 | 803 |
try |
804 | 804 |
{ |
... | ... | |
865 | 865 |
Project_Info projectInfo = Project_Info.GetInstance(); |
866 | 866 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
867 | 867 |
{ |
868 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
868 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
869 | 869 |
{ |
870 | 870 |
try |
871 | 871 |
{ |
... | ... | |
937 | 937 |
Project_Info projectInfo = Project_Info.GetInstance(); |
938 | 938 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
939 | 939 |
{ |
940 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
940 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
941 | 941 |
{ |
942 | 942 |
try |
943 | 943 |
{ |
... | ... | |
997 | 997 |
Project_Info projectInfo = Project_Info.GetInstance(); |
998 | 998 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
999 | 999 |
{ |
1000 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1000 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1001 | 1001 |
{ |
1002 | 1002 |
try |
1003 | 1003 |
{ |
... | ... | |
1079 | 1079 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1080 | 1080 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
1081 | 1081 |
{ |
1082 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1082 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1083 | 1083 |
{ |
1084 | 1084 |
try |
1085 | 1085 |
{ |
... | ... | |
1152 | 1152 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1153 | 1153 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
1154 | 1154 |
{ |
1155 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1155 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1156 | 1156 |
{ |
1157 | 1157 |
try |
1158 | 1158 |
{ |
... | ... | |
1223 | 1223 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1224 | 1224 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
1225 | 1225 |
{ |
1226 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1226 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1227 | 1227 |
{ |
1228 | 1228 |
try |
1229 | 1229 |
{ |
... | ... | |
1284 | 1284 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1285 | 1285 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
1286 | 1286 |
{ |
1287 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1287 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1288 | 1288 |
{ |
1289 | 1289 |
try |
1290 | 1290 |
{ |
... | ... | |
1345 | 1345 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1346 | 1346 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
1347 | 1347 |
{ |
1348 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1348 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1349 | 1349 |
{ |
1350 | 1350 |
try |
1351 | 1351 |
{ |
... | ... | |
1406 | 1406 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1407 | 1407 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
1408 | 1408 |
{ |
1409 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1409 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1410 | 1410 |
{ |
1411 | 1411 |
try |
1412 | 1412 |
{ |
... | ... | |
1467 | 1467 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1468 | 1468 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
1469 | 1469 |
{ |
1470 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1470 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1471 | 1471 |
{ |
1472 | 1472 |
try |
1473 | 1473 |
{ |
... | ... | |
1528 | 1528 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1529 | 1529 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
1530 | 1530 |
{ |
1531 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1531 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1532 | 1532 |
{ |
1533 | 1533 |
try |
1534 | 1534 |
{ |
... | ... | |
1588 | 1588 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1589 | 1589 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
1590 | 1590 |
{ |
1591 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1591 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1592 | 1592 |
{ |
1593 | 1593 |
try |
1594 | 1594 |
{ |
... | ... | |
1691 | 1691 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1692 | 1692 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
1693 | 1693 |
{ |
1694 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1694 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1695 | 1695 |
{ |
1696 | 1696 |
try |
1697 | 1697 |
{ |
... | ... | |
1788 | 1788 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1789 | 1789 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
1790 | 1790 |
{ |
1791 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1791 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1792 | 1792 |
{ |
1793 | 1793 |
try |
1794 | 1794 |
{ |
... | ... | |
1883 | 1883 |
Project_Info projectInfo = Project_Info.GetInstance(); |
1884 | 1884 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
1885 | 1885 |
{ |
1886 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
1886 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
1887 | 1887 |
{ |
1888 | 1888 |
try |
1889 | 1889 |
{ |
... | ... | |
2013 | 2013 |
Project_Info projectInfo = Project_Info.GetInstance(); |
2014 | 2014 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
2015 | 2015 |
{ |
2016 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
2016 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
2017 | 2017 |
{ |
2018 | 2018 |
try |
2019 | 2019 |
{ |
... | ... | |
2119 | 2119 |
Project_Info projectInfo = Project_Info.GetInstance(); |
2120 | 2120 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
2121 | 2121 |
{ |
2122 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
2122 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
2123 | 2123 |
{ |
2124 | 2124 |
try |
2125 | 2125 |
{ |
... | ... | |
2285 | 2285 |
Project_Info projectInfo = Project_Info.GetInstance(); |
2286 | 2286 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
2287 | 2287 |
{ |
2288 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
2288 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
2289 | 2289 |
{ |
2290 | 2290 |
try |
2291 | 2291 |
{ |
... | ... | |
2349 | 2349 |
Project_Info projectInfo = Project_Info.GetInstance(); |
2350 | 2350 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
2351 | 2351 |
{ |
2352 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
2352 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
2353 | 2353 |
{ |
2354 | 2354 |
try |
2355 | 2355 |
{ |
... | ... | |
2463 | 2463 |
Project_Info projectInfo = Project_Info.GetInstance(); |
2464 | 2464 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
2465 | 2465 |
{ |
2466 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
2466 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
|
|
2467 | 2467 |
{ |
2468 | 2468 |
try |
2469 | 2469 |
{ |
내보내기 Unified diff