Build Method (DbConnection)
Collapse the table of content
Expand the table of content

DbModelBuilder.Build Method (DbConnection)

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:
© 2016 Microsoft