Export (0) Print
Expand All

EntityTypeConfiguration<TEntityType>.ToTable Method (String, String)

Entity Framework 5.0

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

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

public void ToTable(
	string tableName,
	string schemaName
)

Parameters

tableName
Type: System.String

The name of the table.

schemaName
Type: System.String

The database schema of the table.

Show:
© 2014 Microsoft