Auto id generation is available for entities

Previously the sample had work arounds to generate an id itself while adding a new item into a table. Removing the work around.