How to manually create a new entity in Affinity