DbModelBuilder.Build Method (DbConnection)

Entity Framework 5.0

Creates a DbModel based on the configuration performed using this builder. The connection is used to determine the database provider being used as this affects the database layer of the generated model.

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

public function Build(
	providerConnection : DbConnection
) : DbModel

Parameters

providerConnection
Type: System.Data.Common.DbConnection

Connection to use to determine provider information.

Return Value

Type: System.Data.Entity.Infrastructure.DbModel
The model that was built.
Show: