CreateTableOperation 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 creating 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 CreateTableOperation : System.Data.Entity.Migrations.Model.MigrationOperation
type CreateTableOperation = class
inherit MigrationOperation
Public Class CreateTableOperation
Inherits MigrationOperation
- Inheritance
Constructors
CreateTableOperation(String, IDictionary<String,Object>, Object) |
Initializes a new instance of the CreateTableOperation 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. |
CreateTableOperation(String, Object) |
Initializes a new instance of the CreateTableOperation 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
Annotations |
Gets custom annotations that exist on the table to be created. |
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) |
Columns |
Gets the columns to be included in the new table. |
Inverse |
Gets an operation to drop the table. |
IsDestructiveChange |
Gets a value indicating if this operation may result in data loss. |
Name |
Gets the name of the table to be created. |
PrimaryKey |
Gets or sets the primary key for the new table. |
Applies to
Entity Framework