This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace System.Data.SqlClient { | |
public class SqlHelper { | |
readonly string connectionString; | |
public SqlHelper(string connectionString) { this.connectionString = connectionString; } | |
public string StringCommand (string commandString, Action<SqlParameterCollection> bindingCommand) { | |
using (var connection = new SqlConnection(connectionString)) { |