語言

DbModelStore 類別

定義

持久化模型快取的基底類別。

public abstract class DbModelStore
type DbModelStore = class
Public MustInherit Class DbModelStore
繼承
DbModelStore
衍生

建構函式

名稱 Description
DbModelStore()

持久化模型快取的基底類別。

方法

名稱 Description
GetDefaultSchema(Type)

取得模型使用的預設資料庫架構。

Save(Type, DbModel)

還能把模型存到商店。

TryGetEdmx(Type)

從商店取出 edmx XDocument 版本的模型。

TryLoad(Type)

從商店載入一個模型。

適用於