Cal. Gov't Code § 51306
The contract shall provide for the assumption of all city pension rights of the transferred employees by the county, or for their continuation by the city, or by both.