CreateTableOperation Constructor

 

Initializes a new instance of the CreateTableOperation class.

Namespace:   System.Data.Entity.Migrations.Model
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodCreateTableOperation(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.

System_CAPS_pubmethodCreateTableOperation(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.


CreateTableOperation Constructor (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.

[SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public CreateTableOperation(
	string name,
	IDictionary<string, object> annotations,
	object anonymousArguments = null
)

Parameters

name
Type: System.String

Name of the table to be created.

annotations
Type: System.Collections.Generic.IDictionary<String, Object>

Custom annotations that exist on the table to be created. 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" }'.


CreateTableOperation Constructor (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.

[SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public CreateTableOperation(
	string name,
	object anonymousArguments = null
)

Parameters

name
Type: System.String

Name of the table to be created.

anonymousArguments
Type: System.Object

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