Skip to content

Instantly share code, notes, and snippets.

View SecureDesktop.cs
using System;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Runtime.InteropServices;
using System.Windows.Threading;
class Program
wezeku / Program.fs
Created Nov 3, 2016
Quick 'n dirty F# SQLite sample
View Program.fs
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)
You can’t perform that action at this time.