LinqConnect Documentation
Devart.Data.Linq Namespace / DataContext Class / Refresh Method / Refresh(Boolean,RefreshMode,Object) Method
Determines whether to ignore SQL execution errors when refreshing entity objects.
One of the RefreshMode values.
The object to be refreshed.

In This Topic
    Refresh(Boolean,RefreshMode,Object) Method
    In This Topic
    Refreshes an entity object according to the specified mode.
    Syntax
    'Declaration
     
    Public Overloads Function Refresh( _
       ByVal ignoreErrors As Boolean, _
       ByVal mode As RefreshMode, _
       ByVal entity As Object _
    ) As Boolean
    public bool Refresh( 
       bool ignoreErrors,
       RefreshMode mode,
       object entity
    )

    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.
    Requirements

    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

    See Also