Method | Description | |
---|---|---|
CheckConnection ( string &stackTrace ) : string | ||
CheckDatabase ( ) : string |
Method that will checks the database. If something goes wrong an exception is thrown.
|
|
CheckRootItem ( ) : string |
Checks the root node in the database. Throws an exception if there is something really wrong with it.
|
|
CheckStartPage ( ) : string |
Checks the root node in the database. Throws an exception if there is something really wrong with it.
|
|
DropDatabaseTables ( ) : void | ||
ExecuteQuery ( string query ) : IEnumerable |
||
ExportSchema ( ) : string | ||
ExportSchema ( TextWriter output ) : void | ||
ExportUpgradeSchema ( ) : string | ||
GenerateCommand ( CommandType type, string sqlString ) : IDbCommand | ||
GetConnection ( ) : IDbConnection | ||
GetResourceString ( string resourceKey ) : string | ||
GetStatus ( ) : DatabaseStatus | ||
Install ( ) : void |
Executes sql create database scripts.
|
|
NHInstallationManager ( IHost host, DefinitionMap map, ContentActivator activator, Importer importer, IPersister persister, ISessionProvider sessionProvider, IConfigurationBuilder configurationBuilder, IWebContext webContext, ConnectionMonitor connectionContext, DatabaseSection config ) : System | ||
Upgrade ( ) : void |
Method | Description | |
---|---|---|
ClearNHCache ( ) : void | ||
GetDriver ( ) : IDriver | ||
IsSql ( DatabaseStatus status ) : bool | ||
IsTrashed ( ContentItem item ) : bool |
Determines if the given item is in the trash or is the trash can itself. There will be problems if the root node or start page is trashed.
|
|
UpdateConnection ( DatabaseStatus status ) : bool | ||
UpdateCount ( DatabaseStatus status ) : bool | ||
UpdateItems ( DatabaseStatus status ) : bool | ||
UpdateRecordedValues ( DatabaseStatus status ) : void | ||
UpdateSchema ( DatabaseStatus status ) : bool | ||
UpdateVersion ( DatabaseStatus status ) : bool |
public CheckConnection ( string &stackTrace ) : string | ||
stackTrace | string | |
return | string |
public ExecuteQuery ( string query ) : IEnumerable |
||
query | string | |
return | IEnumerable |
public ExportSchema ( TextWriter output ) : void | ||
output | TextWriter | |
return | void |
public GenerateCommand ( CommandType type, string sqlString ) : IDbCommand | ||
type | CommandType | |
sqlString | string | |
return | IDbCommand |
public static GetResourceString ( string resourceKey ) : string | ||
resourceKey | string | |
return | string |
public NHInstallationManager ( IHost host, DefinitionMap map, ContentActivator activator, Importer importer, IPersister persister, ISessionProvider sessionProvider, IConfigurationBuilder configurationBuilder, IWebContext webContext, ConnectionMonitor connectionContext, DatabaseSection config ) : System | ||
host | IHost | |
map | DefinitionMap | |
activator | ContentActivator | |
importer | Importer | |
persister | IPersister | |
sessionProvider | ISessionProvider | |
configurationBuilder | IConfigurationBuilder | |
webContext | IWebContext | |
connectionContext | ConnectionMonitor | |
config | DatabaseSection | |
return | System |