Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Runtime.InteropServices;
using System.Windows.Threading;
class Program
{
// DESKTOP_ACCESS
@wezeku
wezeku / Program.fs
Created November 3, 2016 17:53
Quick 'n dirty F# SQLite sample
open System
open System.Data.SQLite
let createTable conn =
let cmdText =
"create table if not exists Part(
PartNo TEXT PRIMARY KEY not null,
PartName TEXT not null);"
use cmd = new SQLiteCommand(cmdText, conn)