DropColumnOperation Constructors

Definition

Overloads

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.

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, 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, 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.

public DropColumnOperation (string table, string name, object anonymousArguments = null);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public DropColumnOperation (string table, string name, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropColumnOperation : string * string * obj -> System.Data.Entity.Migrations.Model.DropColumnOperation
Public Sub New (table As String, name As String, Optional anonymousArguments As Object = null)

Parameters

table
String

The name of the table the column should be dropped from.

name
String

The name of the column to be dropped.

anonymousArguments
Object

Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.

Attributes

Applies to

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.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public DropColumnOperation (string table, string name, System.Collections.Generic.IDictionary<string,object> removedAnnotations, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropColumnOperation : string * string * System.Collections.Generic.IDictionary<string, obj> * obj -> System.Data.Entity.Migrations.Model.DropColumnOperation
Public Sub New (table As String, name As String, removedAnnotations As IDictionary(Of String, Object), Optional anonymousArguments As Object = null)

Parameters

table
String

The name of the table the column should be dropped from.

name
String

The name of the column to be dropped.

removedAnnotations
IDictionary<String,Object>

Custom annotations that exist on the column that is being dropped. May be null or empty.

anonymousArguments
Object

Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.

Attributes

Applies to

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.

public DropColumnOperation (string table, string name, System.Data.Entity.Migrations.Model.AddColumnOperation inverse, object anonymousArguments = null);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public DropColumnOperation (string table, string name, System.Data.Entity.Migrations.Model.AddColumnOperation inverse, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropColumnOperation : string * string * System.Data.Entity.Migrations.Model.AddColumnOperation * obj -> System.Data.Entity.Migrations.Model.DropColumnOperation
Public Sub New (table As String, name As String, inverse As AddColumnOperation, Optional anonymousArguments As Object = null)

Parameters

table
String

The name of the table the column should be dropped from.

name
String

The name of the column to be dropped.

inverse
AddColumnOperation

The operation that represents reverting the drop operation.

anonymousArguments
Object

Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.

Attributes

Applies to

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.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public DropColumnOperation (string table, string name, System.Collections.Generic.IDictionary<string,object> removedAnnotations, System.Data.Entity.Migrations.Model.AddColumnOperation inverse, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropColumnOperation : string * string * System.Collections.Generic.IDictionary<string, obj> * System.Data.Entity.Migrations.Model.AddColumnOperation * obj -> System.Data.Entity.Migrations.Model.DropColumnOperation
Public Sub New (table As String, name As String, removedAnnotations As IDictionary(Of String, Object), inverse As AddColumnOperation, Optional anonymousArguments As Object = null)

Parameters

table
String

The name of the table the column should be dropped from.

name
String

The name of the column to be dropped.

removedAnnotations
IDictionary<String,Object>

Custom annotations that exist on the column that is being dropped. May be null or empty.

inverse
AddColumnOperation

The operation that represents reverting the drop operation.

anonymousArguments
Object

Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.

Attributes

Applies to