Пример #1
0
        public object NullSafeGet(IDataReader rs, string[] names, object owner)
        {
            var value = (VALUE)_type.NullSafeGet(rs, names);

            var primitive = FastActivator <PRIMITIVE> .Create(value);

            return(primitive);
        }
        public object NullSafeGet(IDataReader rs, string[] names, object owner)
        {
            object value = _int32Type.NullSafeGet(rs, names);

            if (value == null)
            {
                return(defaultValue);
            }
            return(value);
        }
Пример #3
0
        public object NullSafeGet(DbDataReader rs, string[] names, ISessionImplementor session, object owner)
        {
            object value = _int32Type.NullSafeGet(rs, names, session);

            if (value == null)
            {
                return(defaultValue);
            }
            return(value);
        }
Пример #4
0
 public object NullSafeGet(DbDataReader rs, string[] names, object owner)
 {
     return(_int32Type.NullSafeGet(rs, names));
 }
Пример #5
0
 public object NullSafeGet(DbDataReader rs, string[] names, ISessionImplementor session, object owner)
 {
     return(_int32Type.NullSafeGet(rs, names, session));
 }