DeleteEntity and DeleteEntityAttribute