 | Nhibernate dataaccess methods |
| using System;
| | 1:using System.Collections;
| | 2:using System.Collections.Generic;
| | 3:using System.Text;
| | 4:using NHibernate;
| | 5:using NHibernate.Cfg;
| | 6:using NHibernate.Expression;
| | 7:
| | 8:namespace MyNHibernateDataAccesslayer
| | 9:{
| | 10: public class DataAccessFunction
| | 11: { private static ISessionFactory factory;
| | 12: private ISession session;
| | 13: private ITransaction transaction;
| | 14: private IInterceptor interceptor;
| | 15: private bool isSessionCreator;
| | 16:
| | 17: }
| | 18:}
| | 19: |
|