Added new Class EntityRepository
EntityRepository more functions
Regenerate c code