System.ArgumentNullException : A type specific Set(position, val) should be called because the Type can not be guessed from a null value.
出现此异常时需要为参数值为null时指定类型。
query.SetParameter(position, null, NHibernateUtil.Int32);
System.ArgumentNullException : A type specific Set(position, val) should be called because the Type can not be guessed from a null value.
出现此异常时需要为参数值为null时指定类型。
query.SetParameter(position, null, NHibernateUtil.Int32);