Skip to content

Instantly share code, notes, and snippets.

@perrytribolet
perrytribolet / Program.cs
Last active September 12, 2018 14:59
Sample Code for the Recipe Pattern
using System;
using RecipeStandardLibrary;
namespace ConsoleApp
{
class Program
{
static RefWrapper<string> stringWrapper = new RefWrapper<string>();
static StringRecipeComposite recipe =
new StringRecipeComposite(new RefWrapper<string> { Value = "Hello World" });
@perrytribolet
perrytribolet / gist:5491101
Created April 30, 2013 19:06
Drop Database Script
USE [master]
GO
ALTER DATABASE [/*Database Name Goes Here*/] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
GO
DROP DATABASE [/*Database Name Goes Here*/];
GO