示例#1
0
 internal static T GetValue <T>(string sql)
 {
     return(conn.ExecuteValue <T>(sql));
 }
示例#2
0
 internal static string GetSetting(string id)
 {
     Console.WriteLine(string.Format("DB file path : {0}", DbFile));
     return(conn.ExecuteValue <string>(string.Format("SELECT Value FROM Setting WHERE Id = '{0}';", id)));
 }