internal static T GetValue <T>(string sql) { return(conn.ExecuteValue <T>(sql)); }
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))); }