Added EntityType and KeyType properties on repository