Refresh Method (RefreshMode, IEnumerable)
Collapse the table of content
Expand the table of content

DataContext.Refresh Method (RefreshMode, IEnumerable)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Public Sub Refresh ( _
	mode As RefreshMode, _
	entities As IEnumerable _
)

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.

For information about using a local database in your Windows Phone application, see Local database for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft