24 lines
708 B
C#
24 lines
708 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace tTP
|
|
{
|
|
internal class DB
|
|
{
|
|
public static void CreateDB()
|
|
{
|
|
/*SQLitePCL.raw.SetProvider(new SQLitePCLRaw.provider.e_sqlite3);
|
|
using (var connection = new SqliteConnection("Data Source=tTP.db"))
|
|
{
|
|
connection.Open();
|
|
var command = connection.CreateCommand();
|
|
command.CommandText = @" CREATE TABLE teleporter ( id INTEGER PRIMARY KEY, name TEXT NOT NULL, x INTEGER NOT NULL, y INTEGER NOT NULL )";
|
|
command.ExecuteNonQuery();
|
|
}*/
|
|
}
|
|
}
|
|
}
|