No. You could say "David invites you to a wedding (event)". More commonly, wedding invitations are phrased something like "You are invited to attend the wedding of Mary and David...."
More formally, it might be phrased something like "Mr. and Mrs. John Smith request the honor of your presence at the marriage of their daughter, Mary, to David...."