public void Create()
			{
				ISession session = sessions.OpenSession();
				session.BeginTransaction();
				var stock = new Stock {TradeSymbol = "NHForge"};
				var valuation = new Valuation {Stock = stock, ValuationDate = DateTime.Now, Value = 200.0D};
				stock.CurrentValuation = valuation;
				stock.Valuations.Add(valuation);

				session.Save(stock);
				session.Save(valuation);

				session.Transaction.Commit();
				session.Close();

				stockId = stock.Id;
			}
            public void Create()
            {
                ISession session = sessions.OpenSession();

                session.BeginTransaction();
                var stock = new Stock {
                    TradeSymbol = "NHForge"
                };
                var valuation = new Valuation {
                    Stock = stock, ValuationDate = DateTime.Now, Value = 200.0D
                };

                stock.CurrentValuation = valuation;
                stock.Valuations.Add(valuation);

                session.Save(stock);
                session.Save(valuation);

                session.Transaction.Commit();
                session.Close();

                stockId = stock.Id;
            }