I have a LocationEntity that has a nullable foreign key to a RegionEntity.
If I wanted to remove the value in the RegionID field, how can I do that?
Dim objLocation as New LocationEntity(200)
objLocation.RegionID = Nothing
objLocation.Save()
The above code does not work and is giving me a Foreign Key constraint error.