예제 #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));
 }