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

Updating an entity with GraphDiff and ignore one or more properties

$
0
0

Hi, I use RefactorThis.GraphDiff library to edit an entity with all of related entities. 

How can I ignore one or more specific columns when I use this library?

DataContext.UpdateGraph(entity, x => x.OwnedCollection(y => y.AttachmentFiles));
DataContext.SaveChanges();


Viewing all articles
Browse latest Browse all 1698

Trending Articles



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