RestySqlite/WebApi.cs
2025-02-08 22:41:26 +03:00

21 lines
635 B
C#

namespace RestySqlite
{
public class WebApi
{
public static void Main()
{
DatabaseWrapper db = new("test");
/* string createTableSql = "CREATE TABLE IF NOT EXISTS users (id INTEGER PRIMARY KEY, name TEXT, email TEXT)";
string insertSql = "INSERT INTO users (name, email) VALUES (@name, @email)";
db.ExecuteCommand(createTableSql);
db.ExecuteCommand(insertSql, new Parameter("@name", "John Doe"),
new Parameter("@email", "[not specified]"));
*/
db.MapColumns();
}
}
}