public DataContext(string connectionString) { var connectionProvider = ConnectionProvider.CreateProvider("ServerName", connectionString); this.sqlCommand = query => new SqlCmd(connectionProvider, query); this.Description = connectionString; }