Board Thread:General Discussion/@comment-24721813-20140701025328/@comment-4975807-20140701190553

He understood Emma was Snow and Charming's character after receiving the storybook from Mary margaret in "Going Home". He saw a photo of Snow, Charming and baby Emma, and from looking at it, he knew Emma's name, so he likely also understood whose daughter she is.