Share via


EntityFrameworkDataServiceProvider.ResetResource Method

Resets the value of the given resource to its default value

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Overridable Function ResetResource ( _
    resource As Object _
) As Object
'Usage
Dim instance As EntityFrameworkDataServiceProvider 
Dim resource As Object 
Dim returnValue As Object 

returnValue = instance.ResetResource(resource)
public virtual Object ResetResource(
    Object resource
)
public:
virtual Object^ ResetResource(
    Object^ resource
)
abstract ResetResource : 
        resource:Object -> Object  
override ResetResource : 
        resource:Object -> Object
public function ResetResource(
    resource : Object
) : Object

Parameters

  • resource
    Type: System.Object
    resource whose value needs to be reset

Return Value

Type: System.Object
same resource with its value reset

Implements

IUpdatable.ResetResource(Object)

See Also

Reference

EntityFrameworkDataServiceProvider Class

System.Data.Services.Providers Namespace