Pulling code for supporting NoSqlEmbedded for all entities

Pulling code for supporting NoSqlEmbedded for all entities