OperationExecutor.GetMigrations Sınıf

Tanım

Kullanılabilir geçişleri listelemek için bir işlemi temsil eder.

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

Oluşturucular

OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary)

OperationExecutor.GetMigrations 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.

ConnectionString--veritabanına bağlantı dizesi. Veya içinde belirtilen varsayılan değer Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext OnConfiguring(DbContextOptionsBuilder) .

Noconnect--veritabanına bağlanma.

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

OperationExecutor.GetMigrations 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