Refactored Linq Insert generation