ConventionTypeConfiguration.ToTable Method

Definition

Overloads

ToTable(String)

Configures the table name that this entity type is mapped to.

ToTable(String, String)

Configures the table name that this entity type is mapped to.

ToTable(String)

Configures the table name that this entity type is mapped to.

public System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration ToTable (string tableName);
member this.ToTable : string -> System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration
Public Function ToTable (tableName As String) As ConventionTypeConfiguration

Parameters

tableName
String

The name of the table.

Returns

The same ConventionTypeConfiguration instance so that multiple calls can be chained.

Remarks

Calling this will have no effect once it has been configured.

Applies to

ToTable(String, String)

Configures the table name that this entity type is mapped to.

public System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration ToTable (string tableName, string schemaName);
member this.ToTable : string * string -> System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration
Public Function ToTable (tableName As String, schemaName As String) As ConventionTypeConfiguration

Parameters

tableName
String

The name of the table.

schemaName
String

The database schema of the table.

Returns

The same ConventionTypeConfiguration instance so that multiple calls can be chained.

Remarks

Calling this will have no effect once it has been configured.

Applies to