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.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Migrations.Infrastructure.MigratorBase
System.Data.Entity.Migrations.Infrastructure.MigratorScriptingDecorator
Name | Description | |
---|---|---|
![]() | MigratorScriptingDecorator(MigratorBase) | Initializes a new instance of the MigratorScriptingDecorator class. |
Name | Description | |
---|---|---|
![]() | Configuration | Gets the configuration being used for the migrations process.(Inherited from MigratorBase.) |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetDatabaseMigrations() | Gets a list of the migrations that have been applied to the database.(Inherited from MigratorBase.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetLocalMigrations() | Gets a list of the migrations that are defined in the assembly.(Inherited from MigratorBase.) |
![]() | GetPendingMigrations() | Gets a list of the pending migrations that have not been applied to the database.(Inherited from MigratorBase.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ScriptUpdate(String, String) | Produces a script to update the database. |
![]() | ToString() | (Inherited from Object.) |
![]() | Update() | Updates the target database to the latest migration.(Inherited from MigratorBase.) |
![]() | Update(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.