add static create method with CreationEvent parameter to all generated entity classes