C# Class System.Data.Entity.Infrastructure.DbModelStore

Base class for persisted model cache.
Exibir arquivo Open project: aspnet/EntityFramework6

Public Methods

Method Description
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.

Protected Methods

Method Description
GetDefaultSchema ( Type contextType ) : string

Gets the default database schema used by a model.

Method Details

GetDefaultSchema() protected method

Gets the default database schema used by a model.
protected GetDefaultSchema ( Type contextType ) : string
contextType Type The type of context representing the model.
return string

Save() public abstract method

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.
return void

TryGetEdmx() public abstract method

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.
return System.Xml.Linq.XDocument

TryLoad() public abstract method

Loads a model from the store.
public abstract TryLoad ( Type contextType ) : DbCompiledModel
contextType Type The type of context representing the model.
return DbCompiledModel