1.0.0 commit
This commit is contained in:
23
DB.cs
Normal file
23
DB.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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();
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user