private void executeText(string commandText) { var command = databaseInfo.CreateCommand(); command.CommandText = commandText; ExecuteNonQueryCommand(command); }
private void executeText(string commandText) { var cmd = databaseInfo.CreateCommand(null); cmd.CommandText = commandText; if (timeout.HasValue) { cmd.CommandTimeout = timeout.Value; } ExecuteNonQueryCommand(cmd); }