Changed Entity2.OnDelete from abstract to virtual.