I would use Matrix.CreateOrthographicOffCenter like shown here:
Also I wouldn’t recommend manually setting the components of the transform. Instead create it using matrix multiplications such as…
TransformMatrix =
Matrix.CreateOrthographicOffCenter(...) *
Matrix.CreateScale(_zoom, _zoom, 1) *
Matrix.CreateTranslation(new Vector3(-CameraPosition, 0f))
etc, as it tends to be much more maintainable and extensible code