EntityGenerator updated.
and Sample Project modified.