/// <summary> /// 数据库插入空值 /// </summary> /// <param name="obj"></param> /// <returns></returns> static public object SqlNull(object obj) { if (obj == null) return DBNull.Value; return obj; }
/// <summary> /// 数据库插入空值 /// </summary> /// <param name="obj"></param> /// <returns></returns> static public object SqlNull(object obj) { if (obj == null) return DBNull.Value; return obj; }