added ApplyEntityAttributes

added ApplyEntityAttributes to all of the entity base files.