Hmm, I think you're refering to creating entity by using commands... I was refering by creating entity using specific code because I thought you meant saving the entities and loading them from a file... like the .BSP map loads it's integrated entities automatically.
Still, you could link what you've found or post the code for people who stunble upon this thread and want to know aswell.