DataContext::Refresh Method (RefreshMode, IEnumerable^)

 
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.

Refreshes a collection of entity objects according to the specified mode.

Namespace:   System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public:
void Refresh(
	RefreshMode mode,
	IEnumerable^ entities
)

Parameters

mode
Type: System.Data.Linq::RefreshMode

A value that specifies how optimistic concurrency conflicts are handled.

entities
Type: System.Collections::IEnumerable^

The collection of entities to be refreshed.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: