DropTableOperation Constructors

Definition

Overloads

DropTableOperation(String, Object)

Initializes a new instance of the DropTableOperation 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.

DropTableOperation(String, CreateTableOperation, Object)

Initializes a new instance of the DropTableOperation 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.

DropTableOperation(String, IDictionary<String,Object>, IDictionary<String,IDictionary<String,Object>>, Object)

Initializes a new instance of the DropTableOperation 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.

DropTableOperation(String, IDictionary<String,Object>, IDictionary<String,IDictionary<String,Object>>, CreateTableOperation, Object)

Initializes a new instance of the DropTableOperation 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.

DropTableOperation(String, Object)

Initializes a new instance of the DropTableOperation 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 DropTableOperation (string name, object anonymousArguments = null);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public DropTableOperation (string name, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropTableOperation : string * obj -> System.Data.Entity.Migrations.Model.DropTableOperation
Public Sub New (name As String, Optional anonymousArguments As Object = null)

Parameters

name
String

The name of the table 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

DropTableOperation(String, CreateTableOperation, Object)

Initializes a new instance of the DropTableOperation 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 DropTableOperation (string name, System.Data.Entity.Migrations.Model.CreateTableOperation inverse, object anonymousArguments = null);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public DropTableOperation (string name, System.Data.Entity.Migrations.Model.CreateTableOperation inverse, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropTableOperation : string * System.Data.Entity.Migrations.Model.CreateTableOperation * obj -> System.Data.Entity.Migrations.Model.DropTableOperation
Public Sub New (name As String, inverse As CreateTableOperation, Optional anonymousArguments As Object = null)

Parameters

name
String

The name of the table to be dropped.

inverse
CreateTableOperation

An operation that represents reverting dropping the table.

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

DropTableOperation(String, IDictionary<String,Object>, IDictionary<String,IDictionary<String,Object>>, Object)

Initializes a new instance of the DropTableOperation 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")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public DropTableOperation (string name, System.Collections.Generic.IDictionary<string,object> removedAnnotations, System.Collections.Generic.IDictionary<string,System.Collections.Generic.IDictionary<string,object>> removedColumnAnnotations, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropTableOperation : string * System.Collections.Generic.IDictionary<string, obj> * System.Collections.Generic.IDictionary<string, System.Collections.Generic.IDictionary<string, obj>> * obj -> System.Data.Entity.Migrations.Model.DropTableOperation
Public Sub New (name As String, removedAnnotations As IDictionary(Of String, Object), removedColumnAnnotations As IDictionary(Of String, IDictionary(Of String, Object)), Optional anonymousArguments As Object = null)

Parameters

name
String

The name of the table to be dropped.

removedAnnotations
IDictionary<String,Object>

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

removedColumnAnnotations
IDictionary<String,IDictionary<String,Object>>

Custom annotations that exist on columns of the table 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

DropTableOperation(String, IDictionary<String,Object>, IDictionary<String,IDictionary<String,Object>>, CreateTableOperation, Object)

Initializes a new instance of the DropTableOperation 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")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public DropTableOperation (string name, System.Collections.Generic.IDictionary<string,object> removedAnnotations, System.Collections.Generic.IDictionary<string,System.Collections.Generic.IDictionary<string,object>> removedColumnAnnotations, System.Data.Entity.Migrations.Model.CreateTableOperation inverse, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropTableOperation : string * System.Collections.Generic.IDictionary<string, obj> * System.Collections.Generic.IDictionary<string, System.Collections.Generic.IDictionary<string, obj>> * System.Data.Entity.Migrations.Model.CreateTableOperation * obj -> System.Data.Entity.Migrations.Model.DropTableOperation
Public Sub New (name As String, removedAnnotations As IDictionary(Of String, Object), removedColumnAnnotations As IDictionary(Of String, IDictionary(Of String, Object)), inverse As CreateTableOperation, Optional anonymousArguments As Object = null)

Parameters

name
String

The name of the table to be dropped.

removedAnnotations
IDictionary<String,Object>

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

removedColumnAnnotations
IDictionary<String,IDictionary<String,Object>>

Custom annotations that exist on columns of the table that is being dropped. May be null or empty.

inverse
CreateTableOperation

An operation that represents reverting dropping the table.

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