RefreshMode Enumeration

 

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)

public enum 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: