Export (0) Print
Expand All

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)

abstract Build : 
        providerConnection:DbConnection -> DbModel  
override 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:
© 2015 Microsoft