示例#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));
 }