public static string BuildInsert(string[] fieldList)
{
string insert = "INSERT INTO " + SQLiteLocalStorage.TABLE_RECORDS + " (" + string.Join(" ,", fieldList) + " ) " +
" VALUES ( ";
for (int i = 0; i < fieldList.Length; i++)
{
insert += "@" + fieldList[i] + (i < fieldList.Length - 1 ? " , " : " ");
}
insert += " )";
return insert;
}