DbModel.Compile Method ()

 

Creates a DbCompiledModel for this mode which is a compiled snapshot suitable for caching and creation of DbContext instances.

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

public DbCompiledModel Compile()

Return Value

Type: System.Data.Entity.Infrastructure.DbCompiledModel

The compiled model.