Refresh(Boolean,RefreshMode,Object) Method
Refreshes an entity object according to the specified mode.
'Declaration
Public Overloads Function Refresh( _
ByVal As Boolean, _
ByVal As RefreshMode, _
ByVal As Object _
) As Boolean
public bool Refresh(
bool ,
RefreshMode ,
object
)
Parameters
- ignoreErrors
- Determines whether to ignore SQL execution errors when refreshing entity objects.
- mode
- One of the RefreshMode values.
- entity
- The object to be refreshed.
Return Value
False, if there were errors during execution; true, otherwise.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2