IDbExecutionStrategy.Execute Method

 

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodExecute(Action)

Executes the specified operation.

System_CAPS_pubmethodExecute<TResult>(Func<TResult>)

Executes the specified operation and returns the result.


IDbExecutionStrategy.Execute Method (Action)

Executes the specified operation.

void Execute(
	Action operation
)

Parameters

operation
Type: System.Action

A delegate representing an executable operation that doesn't return any results.


IDbExecutionStrategy.Execute<TResult> Method (Func<TResult>)

Executes the specified operation and returns the result.

TResult Execute<TResult>(
	Func<TResult> operation
)

Parameters

operation
Type: System.Func<TResult>

A delegate representing an executable operation that returns the result of type TResult.

Return Value

Type: TResult

The result from the operation.

Type Parameters

TResult

The return type of operation.