DbModel.Compile 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為此模式建立 DbCompiledModel 一個編譯快照,適合快取與建立 DbContext 實例。
public System.Data.Entity.Infrastructure.DbCompiledModel Compile();
member this.Compile : unit -> System.Data.Entity.Infrastructure.DbCompiledModel
Public Function Compile () As DbCompiledModel
傳回
編譯模型。