DropColumnOperation 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 a column being dropped from a table.
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 DropColumnOperation : System.Data.Entity.Migrations.Model.MigrationOperation
type DropColumnOperation = class
inherit MigrationOperation
Public Class DropColumnOperation
Inherits MigrationOperation
- Inheritance
Constructors
DropColumnOperation(String, String, AddColumnOperation, Object) |
Initializes a new instance of the DropColumnOperation 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. |
DropColumnOperation(String, String, IDictionary<String,Object>, AddColumnOperation, Object) |
Initializes a new instance of the DropColumnOperation 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. |
DropColumnOperation(String, String, IDictionary<String,Object>, Object) |
Initializes a new instance of the DropColumnOperation 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. |
DropColumnOperation(String, String, Object) |
Initializes a new instance of the DropColumnOperation 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) |
Inverse |
Gets an operation that represents reverting dropping the column. The inverse cannot be automatically calculated, if it was not supplied to the constructor this property will return null. |
IsDestructiveChange |
Gets a value indicating if this operation may result in data loss. |
Name |
Gets the name of the column to be dropped. |
RemovedAnnotations |
Gets custom annotations that exist on the column that is being dropped. |
Table |
Gets the name of the table the column should be dropped from. |
Applies to
Entity Framework