Fix for the ID property of a newly created Entity not defaulting to null and breaking the insert mechanism.