Aracılığıyla paylaş


OperationExecutor.GetContextInfo Sınıf

Tanım

Bir tür hakkında bilgi almak için bir DbContext işlemi temsil eder.

public class OperationExecutor.GetContextInfo : Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase
type OperationExecutor.GetContextInfo = class
    inherit OperationExecutor.OperationBase
Public Class OperationExecutor.GetContextInfo
Inherits OperationExecutor.OperationBase
Devralma
OperationExecutor.GetContextInfo
Devralma
OperationExecutor.GetContextInfo

Oluşturucular

OperationExecutor.GetContextInfo(OperationExecutor, IOperationResultHandler, IDictionary)

OperationExecutor.GetContextInfo sınıfının yeni bir örneğini başlatır.

OperationExecutor.GetContextInfo(OperationExecutor, Object, IDictionary)

OperationExecutor.GetContextInfo sınıfının yeni bir örneğini başlatır.

tarafından args desteklenen bağımsız değişkenler şunlardır:

contextType DbContext--Kullanılacak tür.

Yöntemler

Execute(Action)

özel durumları öğesine IOperationResultHandlergeçirerek bir eylem yürütür.

(Devralındığı yer: OperationExecutor.OperationBase)
Execute<T>(Func<IEnumerable<T>>)

sonuçları veya özel durumları IOperationResultHandleröğesine geçiren bir eylem yürütür.

(Devralındığı yer: OperationExecutor.OperationBase)
Execute<T>(Func<T>)

Sonucu veya özel durumları öğesine geçiren bir eylem yürütür IOperationResultHandler.

(Devralındığı yer: OperationExecutor.OperationBase)

Şunlara uygulanır