Share via


DbModel.Compile Method

Definition

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