public void InsertRow(string tableName, string columnNames, string values) { if (UnderlayingDatabase == null) { throw new InvalidOperationException("The Database is not created."); } UnderlayingDatabase.ExecSQL($"INSERT INTO {tableName} ({columnNames}) VALUES ({values});"); }
public void CreateTable(string tableName, string tableMap) { if (UnderlayingDatabase == null) { throw new InvalidOperationException("The Database is not created."); } UnderlayingDatabase.ExecSQL($"CREATE TABLE {tableName}({tableMap});"); }