OperationExecutor.ScriptDbContext Sınıf

Tanım

dbcontext 'ten bir SQL betiği oluşturmak için bir işlemi temsil eder.

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

Oluşturucular

OperationExecutor.ScriptDbContext(OperationExecutor, IOperationResultHandler, IDictionary)

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

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

ContextType-- DbContext kullanılacak.

Yöntemler

Execute(Action)

Özel durumları 'a geçirme eylemi IOperationResultHandler yürütür.

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

Sonuçları veya özel durumları 'a geçirme eylemlerini IOperationResultHandler yürütür.

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

Sonucu veya özel durumları 'a geçirme eylemlerini IOperationResultHandler yürütür.

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

Şunlara uygulanır