RefreshMode Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies whether property changes made to objects tracked by Object Services are kept or replaced with property values from the data source.

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

type RefreshMode

Member nameDescription
ClientWins

Property changes made to objects in the object context are not replaced with values from the data source. On the next call to SaveChanges, these changes are sent to the data source.

StoreWins

Property changes made to objects in the object context are replaced with values from the data source.

.NET Framework
Available since 3.5
Return to top
Show: