Beispiel #1
0
        //public virtual int Count()
        //{
        //    using (ISession s = NHibernateHelper.OpenSession<T>())
        //    {
        //        return s.Query<T>().Count();
        //    }
        //}
        #endregion

        #region store proc
        public virtual List <Object> ExecStoreProcedure(string sqlString)
        {
            return(NHibernateHelper.ExecStoreProcedure(sqlString));
        }