MoveTableOperation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents moving a table from one schema to another.
Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.
public class MoveTableOperation : System.Data.Entity.Migrations.Model.MigrationOperation
type MoveTableOperation = class
inherit MigrationOperation
Public Class MoveTableOperation
Inherits MigrationOperation
- Inheritance
Constructors
MoveTableOperation(String, String, Object) |
Initializes a new instance of the MoveTableOperation class. Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc. |
Properties
AnonymousArguments |
Gets additional arguments that may be processed by providers. Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc. (Inherited from MigrationOperation) |
ContextKey |
Used when altering the migrations history table so that data can be moved to the new table. |
CreateTableOperation |
Used when altering the migrations history table so that the table can be rebuilt rather than just dropping and adding the primary key. |
Inverse |
Gets an operation that moves the table back to its original schema. |
IsDestructiveChange |
Gets a value indicating if this operation may result in data loss. |
IsSystem |
Gets a value that indicates whether this is a system table. |
Name |
Gets the name of the table to be moved. |
NewSchema |
Gets the name of the schema to move the table to. |
Applies to
Entity Framework