public void ExecuteCommand(string command, Parameter[] parameters) { using(var sqlCommand = new SqlCommand()) { sqlCommand.Connection = connection; foreach(var param in parameters) { sqlCommand.Parameters.Add(new SqlParameter(param.Name, param.Value)); } sqlCommand.ExecuteNonQuery(); } throw new NotImplementedException(); }
public object ExecuteScalar(string query, Parameter[] parameters) { throw new NotImplementedException(); }
public System.Data.IDataReader ExecuteQuery(string query, Parameter[] parameters) { throw new NotImplementedException(); }