Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     try
     {
         Engine engine = new Engine();
         engine.Start();
         Environment.Exit(0);
     }
     catch (Exception ex)
     {
         Console.Write(ex);
     }
 }
Ejemplo n.º 2
0
 public void EngineTest()
 {
     Engine engine = new Engine();
     engine.Start();
 }
Ejemplo n.º 3
0
 public void NHibernateTest()
 {
     Engine engine = new Engine();
     engine.Start();
     using (ISession session = SessionManage.OpenSession())
     {
         ITransaction tran = session.BeginTransaction();
         string sql = string.Format("from BoxTagsInfo b");
         IList list = session.CreateQuery(sql).List();
         tran.Commit();
     }
 }