DbModelBuilder.Build Method (DbProviderInfo)

Entity Framework 5.0

Creates a DbModel based on the configuration performed using this builder. Provider information must be specified because this affects the database layer of the generated model. For SqlClient the invariant name is 'System.Data.SqlClient' and the manifest token is the version year (for example, '2005' or '2008'.)

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

public virtual DbModel Build(
	DbProviderInfo providerInfo


Type: System.Data.Entity.Infrastructure.DbProviderInfo

The database provider that the model will be used with.

Return Value

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