Dil

OperationExecutor.OptimizeContext Sınıf

Tanım

DbContext için iyileştirilmiş kod oluşturma işlemini temsil eder.

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

Oluşturucular

Veri Akışı Adı Description
OperationExecutor.OptimizeContext(OperationExecutor, IOperationResultHandler, IDictionary)

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

Yöntemler

Veri Akışı Adı Description
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ı ileten bir eylemi yürütür IOperationResultHandler.

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

sonucu veya özel durumları öğesine IOperationResultHandlergeçiren bir eylem yürütür.

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

Şunlara uygulanır