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)

Public Overridable Function Build ( _
	providerConnection As DbConnection _
) As DbModel
Dim instance As DbModelBuilder 
Dim providerConnection As DbConnection 
Dim returnValue As DbModel 

returnValue = instance.Build(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.
© 2016 Microsoft