DropTableOperation Constructor
Initializes a new instance of the DropTableOperation class.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | 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>>, 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, 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 Constructor (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.
[SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")] public DropTableOperation( string name, CreateTableOperation inverse, object anonymousArguments = null )
Parameters
- name
-
Type:
System.String
The name of the table to be dropped.
- inverse
-
Type:
System.Data.Entity.Migrations.Model.CreateTableOperation
An operation that represents reverting dropping the table.
- anonymousArguments
-
Type:
System.Object
Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
DropTableOperation Constructor (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.
[SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public DropTableOperation( string name, IDictionary<string, object> removedAnnotations, IDictionary<string, IDictionary<string, object>> removedColumnAnnotations, CreateTableOperation inverse, object anonymousArguments = null )
Parameters
- name
-
Type:
System.String
The name of the table to be dropped.
- removedAnnotations
-
Type:
System.Collections.Generic.IDictionary<String, Object>
Custom annotations that exist on the table that is being dropped. May be null or empty.
- removedColumnAnnotations
-
Type:
System.Collections.Generic.IDictionary<String, IDictionary<String, Object>>
Custom annotations that exist on columns of the table that is being dropped. May be null or empty.
- inverse
-
Type:
System.Data.Entity.Migrations.Model.CreateTableOperation
An operation that represents reverting dropping the table.
- anonymousArguments
-
Type:
System.Object
Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
DropTableOperation Constructor (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.
[SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public DropTableOperation( string name, IDictionary<string, object> removedAnnotations, IDictionary<string, IDictionary<string, object>> removedColumnAnnotations, object anonymousArguments = null )
Parameters
- name
-
Type:
System.String
The name of the table to be dropped.
- removedAnnotations
-
Type:
System.Collections.Generic.IDictionary<String, Object>
Custom annotations that exist on the table that is being dropped. May be null or empty.
- removedColumnAnnotations
-
Type:
System.Collections.Generic.IDictionary<String, IDictionary<String, Object>>
Custom annotations that exist on columns of the table that is being dropped. May be null or empty.
- anonymousArguments
-
Type:
System.Object
Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
DropTableOperation Constructor (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.
[SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")] public DropTableOperation( string name, object anonymousArguments = null )
Parameters
- name
-
Type:
System.String
The name of the table to be dropped.
- anonymousArguments
-
Type:
System.Object
Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.