markus / KCOM / AppSQLiteDatabase.cs @ e52385b9
이력 | 보기 | 이력해설 | 다운로드 (702 Bytes)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Data; |
6 |
using System.Data.Common; |
7 |
using System.Data.SQLite; |
8 |
using System.Globalization; |
9 |
|
10 |
namespace KCOM |
11 |
{ |
12 |
class AppSQLiteDatabase : AbstractDatabase<SQLiteConnection , SQLiteCommand , SQLiteDataAdapter> |
13 |
{ |
14 |
public string FilePath{get;set;} |
15 |
|
16 |
/// <summary> |
17 |
/// sqlite connection string |
18 |
/// </summary> |
19 |
/// <author>humkyung</author> |
20 |
/// <date>2019.02.10</date> |
21 |
/// <returns></returns> |
22 |
protected override string GetConnectionString() |
23 |
{ |
24 |
return string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", this.FilePath); |
25 |
} |
26 |
} |
27 |
} |