How does marriage affect the paternity of your child?

In Michigan, if a married couple has a child, it is presumed that the child is a product of that union. Should the marriage end in divorce, the father has a right to child custody and parenting time and is obligated to pay child support.