Skip to content

Instantly share code, notes, and snippets.

@ndonze-zz
ndonze-zz / PartialAppPlayground.cs
Created November 27, 2013 13:50
This is pretty rough. There's a lot of thrashing as I experiment with this. I apologize if I'm missing something fundamental (which I likely am).
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
public class PartialAppPlayground
{
public static void Initialize()
{
Func<IDbConnection> createConnection = () => new SqlConnection();