MigratorScriptingDecorator Class

 

Decorator to produce a SQL script instead of applying changes to the database. Using this decorator to wrap DbMigrator will prevent DbMigrator from applying any changes to the target database.

Namespace:   System.Data.Entity.Migrations.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Migrations.Infrastructure.MigratorBase
    System.Data.Entity.Migrations.Infrastructure.MigratorScriptingDecorator

public class MigratorScriptingDecorator : MigratorBase

NameDescription
System_CAPS_pubmethodMigratorScriptingDecorator(MigratorBase)

Initializes a new instance of the MigratorScriptingDecorator class.

NameDescription
System_CAPS_pubpropertyConfiguration

Gets the configuration being used for the migrations process.(Inherited from MigratorBase.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetDatabaseMigrations()

Gets a list of the migrations that have been applied to the database.(Inherited from MigratorBase.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLocalMigrations()

Gets a list of the migrations that are defined in the assembly.(Inherited from MigratorBase.)

System_CAPS_pubmethodGetPendingMigrations()

Gets a list of the pending migrations that have not been applied to the database.(Inherited from MigratorBase.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodScriptUpdate(String, String)

Produces a script to update the database.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUpdate()

Updates the target database to the latest migration.(Inherited from MigratorBase.)

System_CAPS_pubmethodUpdate(String)

Updates the target database to a given migration.(Inherited from MigratorBase.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.