Share via


DataContext.Refresh method (RefreshMode, IEnumerable)

Refreshes a collection of entities with the latest data from the content database according to the specified mode.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

Syntax

'Declaration
Public Sub Refresh ( _
    mode As RefreshMode, _
    entities As IEnumerable _
)
'Usage
Dim instance As DataContext
Dim mode As RefreshMode
Dim entities As IEnumerable

instance.Refresh(mode, entities)
public void Refresh(
    RefreshMode mode,
    IEnumerable entities
)

Parameters

See also

Reference

DataContext class

DataContext members

Refresh overload

Microsoft.SharePoint.Linq namespace