Entanglement and off-diagonal long-range order of an η-pairing state