Drain the corn and beans in the sieve. Mix equal parts of vinegar, lemon juice and oil as well as a little sugar, mustard and garlic to a marinade. Season to taste with salt and pepper. Mix the corn, beans and onions and fold into the marinade. Cover and let steep in the refrigerator for at least 30 minutes.