/// <summary> /// Creates a <see cref="T:System.Data.Entity.Infrastructure.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 (i.e. '2005', '2008' etc.) /// </summary> /// <param name="providerInfo"> The database provider that the model will be used with. </param> /// <returns> The model that was built. </returns> public virtual DbModel Build(DbProviderInfo providerInfo) { Check.NotNull <DbProviderInfo>(providerInfo, nameof(providerInfo)); return(this.Build(DbModelBuilder.GetProviderManifest(providerInfo), providerInfo)); }