Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

How to update field without loading entire entity?

$
0
0

Hi, is it possible to update only a single field/column without loading the entity? 

Normally i look up an entity through id and then update a field/property then use _context.Update() and save..

Why do I have to load the entity, is it not possible to say "update this property on any entites that have an emailproperty that matches xxx"?


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>