Пример #1
0
        public object NullSafeGet(IDataReader rs, string[] names, object owner)
        {
            int value = (int)NHibernateUtil.Int32.NullSafeGet(rs, names[0], null, owner);

            return(MyUserTypes.Find(value));
        }
Пример #2
0
        public object NullSafeGet(DbDataReader rs, string[] names, ISessionImplementor session, object owner)
        {
            int value = (int)NHibernateUtil.Int32.NullSafeGet(rs, names[0], session, owner);

            return(MyUserTypes.Find(value));
        }