EntityMappingConfiguration<TEntityType>.ToTable メソッド (String, String)

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

マップ先のテーブルの名前とスキーマを構成します。

名前空間:  System.Data.Entity.ModelConfiguration.Configuration
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Public Function ToTable ( _
    tableName As String, _
    schemaName As String _
) As EntityMappingConfiguration(Of TEntityType)
'使用
Dim instance As EntityMappingConfiguration 
Dim tableName As String 
Dim schemaName As String 
Dim returnValue As EntityMappingConfiguration(Of TEntityType)

returnValue = instance.ToTable(tableName, _
    schemaName)
public EntityMappingConfiguration<TEntityType> ToTable(
    string tableName,
    string schemaName
)
public:
EntityMappingConfiguration<TEntityType>^ ToTable(
    String^ tableName, 
    String^ schemaName
)
member ToTable : 
        tableName:string * 
        schemaName:string -> EntityMappingConfiguration<'TEntityType> 
public function ToTable(
    tableName : String, 
    schemaName : String
) : EntityMappingConfiguration<TEntityType>

パラメーター

戻り値

型 : System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration<TEntityType>
複数の呼び出しを連結するための同じ構成インスタンス。

参照

参照

EntityMappingConfiguration<TEntityType> クラス

ToTable オーバーロード

System.Data.Entity.ModelConfiguration.Configuration 名前空間