8 Replies
when I previously used ef-core it had no such error while trying to create migration
tried to change it as List<string> (saving just Ids) but it gave same exception
provider I'm using is sql server
it worked after I commented out this configuration:
someone please tell why was that problematic
Collections don't actually exist in the database
It's the image that references the pizza, not the pizza that references multiple images
You can't tell EF to configure maximum length of something that doesn't exist in the database
To elaborate, collections in your model are just how EF enables navigation of relationships
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.