DbModel.Compile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a DbCompiledModel for this mode which is a compiled snapshot suitable for caching and creation of DbContext instances.
public System.Data.Entity.Infrastructure.DbCompiledModel Compile ();
member this.Compile : unit -> System.Data.Entity.Infrastructure.DbCompiledModel
Public Function Compile () As DbCompiledModel
Returns
The compiled model.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework