C# Класс System.Data.Entity.Infrastructure.DbModelStore

Base class for persisted model cache.
Показать файл Открыть проект

Открытые методы

Метод Описание
Save ( Type contextType, System.Data.Entity.Infrastructure.DbModel model ) : void

Saves a model to the store.

TryGetEdmx ( Type contextType ) : System.Xml.Linq.XDocument

Retrieves an edmx XDocument version of the model from the store.

TryLoad ( Type contextType ) : DbCompiledModel

Loads a model from the store.

Защищенные методы

Метод Описание
GetDefaultSchema ( Type contextType ) : string

Gets the default database schema used by a model.

Описание методов

GetDefaultSchema() защищенный Метод

Gets the default database schema used by a model.
protected GetDefaultSchema ( Type contextType ) : string
contextType Type The type of context representing the model.
Результат string

Save() публичный абстрактный Метод

Saves a model to the store.
public abstract Save ( Type contextType, System.Data.Entity.Infrastructure.DbModel model ) : void
contextType Type The type of context representing the model.
model System.Data.Entity.Infrastructure.DbModel The metadata model to save.
Результат void

TryGetEdmx() публичный абстрактный Метод

Retrieves an edmx XDocument version of the model from the store.
public abstract TryGetEdmx ( Type contextType ) : System.Xml.Linq.XDocument
contextType Type The type of context representing the model.
Результат System.Xml.Linq.XDocument

TryLoad() публичный абстрактный Метод

Loads a model from the store.
public abstract TryLoad ( Type contextType ) : DbCompiledModel
contextType Type The type of context representing the model.
Результат DbCompiledModel