Entityframework duplicate record on second insert
- by Delysid
I am building an application for recipe/meal planning, and i have come across a problem i cant seem to figure out.
i have a table for units of measure, where i keep the used units in, i only want unique units in here (for grocery list calculation and so forth)
but if i use a unit from the table on a recipe, the first time it is okay, nothing is…