50 ms·
> (are there ORMs in which all returned data objects are forced to be immutable? I think that would help.) I'm not sure if this is exactly what you're asking,
by worble 6y ago
> (are there ORMs in which all returned data objects are forced to be immutable? I think that would help.)
I'm not sure if this is exactly what you're asking, but Entity Framework has .AsNoTracking(), which will simply return the objects without doing any change tracking on them, so feel free to modify them as you wish afterwards without accidentally updating your database.