Common.Data --> TBF.Data and TBF.DB
This commit is contained in:
@@ -65,7 +65,7 @@ namespace TBF.Rig.TestMethods.Endurance
|
||||
/// Prepare a list of valves for the endurance test
|
||||
|
||||
/// Load the list of components from the database
|
||||
NHibernate.ISession session = Config.FluentCommon.CreateSession(DBKind.Config);
|
||||
NHibernate.ISession session = TBF.DB.CreateSession(DBKind.Config);
|
||||
var cmptnEntities = session.QueryOver<Config.Entities.Component>().OrderBy(x => x.ItemNr).Asc .List();
|
||||
TbfComponents = TBF.Rig.TbfComponents.LoadComponentsFromDB(cmptnEntities);
|
||||
Valves = new List<IValve>();
|
||||
|
||||
Reference in New Issue
Block a user