Modified the return type of Insert to nullable to prevent crashing on tables which do not have an identity field