Méthode | Description | |
---|---|---|
IsNewConfigurationRequired ( string filename, IList |
Checks if a new Configuration is required or a serialized one should be used.
|
|
ReadConfiguration ( string filename ) : NHibernate.Cfg.Configuration |
Gets the Configuration from the file.
|
|
WriteConfiguration ( string filename, NHibernate.Cfg.Configuration cfg ) : void |
Writes the Configuration to the file
|
public IsNewConfigurationRequired ( string filename, IList |
||
filename | string | Name of the file containing the NH configuration |
dependencies | IList |
Files that the serialized configuration depends on. |
Résultat | bool |
public ReadConfiguration ( string filename ) : NHibernate.Cfg.Configuration | ||
filename | string | The name of the file to read from |
Résultat | NHibernate.Cfg.Configuration |
public WriteConfiguration ( string filename, NHibernate.Cfg.Configuration cfg ) : void | ||
filename | string | The name of the file to write to |
cfg | NHibernate.Cfg.Configuration | The NH Configuration |
Résultat | void |