public void Initialise(Command command, IDbAdaptor adaptor) { _adaptor = adaptor; _command = command; _connection = _adaptor.CreateCommand(ConfigurationManager.AppSettings["ConnectionString"], _command.Sql); _adaptor.CreateParameters(_command.Parameters); }