IDbExecutionStrategy.Execute Method
Namespace:
System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Execute(Action) | Executes the specified operation. |
![]() | Execute<TResult>(Func<TResult>) | Executes the specified operation and returns the result. |
IDbExecutionStrategy.Execute Method (Action)
Executes the specified 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.
Parameters
- operation
-
Type:
System.Func<TResult>
A delegate representing an executable operation that returns the result of type TResult.
Type Parameters
- TResult
The return type of operation.