public Entity SetISomeInterface(ISomeInterface newValue)
{
if(hasISomeInterface) {
throw new EntitasException("Could not set iSomeInterface!\n" + this + " already has an entity with ISomeInterfaceComponent!",
"You should check if the context already has a iSomeInterfaceEntity before setting it or use context.ReplaceISomeInterface().");
}
var entity = CreateEntity();
entity.AddISomeInterface(newValue);
return entity;
}